@Override
    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
        userJID = (JID) ExternalizableUtil.getInstance().readSerializable(in);
        name = ExternalizableUtil.getInstance().readSafeUTF(in);
        isDefault = ExternalizableUtil.getInstance().readBoolean(in);
        String xml = ExternalizableUtil.getInstance().readSafeUTF(in);
        try {
            Element element = localParser.get().read(new StringReader(xml)).getRootElement();
            updateList(element, false);
        } catch (Exception e) {
            Log.error("Error while parsing Privacy Property", e);
        }
    }
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