public static class Filter.FilterAttr extends Filter.FilterItem
modified, name, syncMode| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSyncMode(int mode)
Validate a sync mode argument for
FilterAttr |
protected java.lang.String |
getElementName()
Get the tag name of the XML element used to represent
FilterAttr objects
in XML. |
int |
getMergeAuthority()
Get the value for the 'merge-authority' XML attribute
|
boolean |
getPublisherOptimizeModify()
Get the value for the 'publisher-optimize-modify' XML attribute
|
void |
setMergeAuthority(int value)
Set the value for the 'merge-authority' XML attribute
|
void |
setPublisherOptimizeModify(boolean value)
Set the value for the 'publisher-optimize-modify' XML attribute
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Node parent)
Construct an XML representation of this
FilterAttr instance. |
getName, getSyncMode, hasBeenModified, resetModified, setSyncModepublic int getMergeAuthority()
MERGE_DEFAULT, MERGE_EDIR,
MERGE_APP, or MERGE_NONEpublic void setMergeAuthority(int value)
throws java.lang.IllegalArgumentException
value - MERGE_DEFAULT, MERGE_EDIR,
MERGE_APP, or MERGE_NONEjava.lang.IllegalArgumentException - if value parameter is incorrectpublic boolean getPublisherOptimizeModify()
true or falsepublic void setPublisherOptimizeModify(boolean value)
value - true or falsepublic org.w3c.dom.Element toXML(org.w3c.dom.Node parent)
FilterAttr instance.
Note that the act of creating an XML representation does not reset this instance's
modified flag. It must be reset by calling resetModified().parent - Node under which to build XML representationFilter.FilterItem.hasBeenModified(),
Filter.FilterItem.resetModified()protected void checkSyncMode(int mode)
throws java.lang.IllegalArgumentException
FilterAttrcheckSyncMode in class Filter.FilterItemmode - sync mode to checkjava.lang.IllegalArgumentException - if mode parameter isn't one of
SYNC_SYNC, SYNC_NOTIFY,
SYNC_RESET, or SYNC_IGNOREprotected java.lang.String getElementName()
FilterAttr objects
in XML.getElementName in class Filter.FilterItem