|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.shimhost.Filter.FilterItem
com.novell.nds.dirxml.shimhost.Filter.FilterAttr
public static class Filter.FilterAttr
Class representing a <filter-attr> element.
Field Summary |
---|
Fields inherited from class com.novell.nds.dirxml.shimhost.Filter.FilterItem |
---|
modified, name, syncMode |
Method Summary | |
---|---|
protected void |
checkSyncMode(int mode)
Validate a sync mode argument for FilterAttr |
protected 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 |
Element |
toXML(Node parent)
Construct an XML representation of this FilterAttr instance. |
Methods inherited from class com.novell.nds.dirxml.shimhost.Filter.FilterItem |
---|
getName, getSyncMode, hasBeenModified, resetModified, setSyncMode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getMergeAuthority()
MERGE_DEFAULT
, MERGE_EDIR
,
MERGE_APP
, or MERGE_NONE
public void setMergeAuthority(int value) throws IllegalArgumentException
value
- MERGE_DEFAULT
, MERGE_EDIR
,
MERGE_APP
, or MERGE_NONE
IllegalArgumentException
- if value parameter is incorrectpublic boolean getPublisherOptimizeModify()
true
or false
public void setPublisherOptimizeModify(boolean value)
value
- true
or false
public Element toXML(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 representation
Filter.FilterItem.hasBeenModified()
,
Filter.FilterItem.resetModified()
protected void checkSyncMode(int mode) throws IllegalArgumentException
FilterAttr
checkSyncMode
in class Filter.FilterItem
mode
- sync mode to check
IllegalArgumentException
- if mode
parameter isn't one of
SYNC_SYNC
, SYNC_NOTIFY
,
SYNC_RESET
, or SYNC_IGNORE
protected String getElementName()
FilterAttr
objects
in XML.
getElementName
in class Filter.FilterItem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |