@Override
    public void writeExternal(ObjectOutput out) throws IOException {
        ExternalizableUtil.getInstance().writeSerializable(out, userJID);
        ExternalizableUtil.getInstance().writeSafeUTF(out, name);
        ExternalizableUtil.getInstance().writeBoolean(out, isDefault);
        ExternalizableUtil.getInstance().writeSafeUTF(out, asElement().asXML());
    }
Sets the new list items based on the specified Element. The Element must contain
a list of item elements.

@param listElement the element containing a list of items.
@param notify true if a provicy list modified event will be triggered.
xmppserver/src/main/java/org/jivesoftware/openfire/privacy/PrivacyList.java