|
|||||||||
| 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.FilterClass
public static class Filter.FilterClass
Class representing a <filter-class> 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 FilterClass |
Collection |
getAttrs()
Get a Collection of the FilterAttr objects that are members of
this FilterClass instance. |
protected String |
getElementName()
Get the tag name of the XML element used to represent FilterClass objects
in XML. |
Filter.FilterAttr |
getFilterAttr(String attrName)
Get the FilterAttr instance for an attribute in this
FilterClass instance. |
boolean |
getPublisherCreateHomeDir()
Get the value for the 'publisher-create-homedir' XML attribute |
boolean |
getPublisherTrackTemplateMember()
Get the value for the 'publisher-track-template-member' XML attribute |
boolean |
hasBeenModified()
Return true if this instance has been modified. |
Iterator |
iterator()
Get an Iterator that returns the FilterAttr objects associated with
this instance. |
Filter.FilterAttr |
newFilterAttr(String attrName)
Create a new entry in this FilterClass instance for an attribute,
if such an entry doesn't already exist. |
Filter.FilterAttr |
removeFilterAttr(String attrName)
Remove the entry for an attribute class from this FilterClass instance
if it exists. |
void |
resetModified()
Reset the modified flag for this instance such that hasBeenModified()
will return false. |
void |
setPublisherCreateHomeDir(boolean value)
Set the value for the 'publisher-create-homedir' XML attribute |
void |
setPublisherTrackTemplateMember(boolean value)
Set the value for the 'publisher-track-template-member' XML attribute |
Element |
toXML(Node parent)
Construct an XML representation of this FilterClass instance. |
| Methods inherited from class com.novell.nds.dirxml.shimhost.Filter.FilterItem |
|---|
getName, getSyncMode, setSyncMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasBeenModified()
true if this instance has been modified.
The instance is considered to have been modified if a change was made
that affects the persistent representation since:
resetModified() was last called
hasBeenModified in class Filter.FilterItemtrue or falseresetModified(),
toXML(org.w3c.dom.Node)public void resetModified()
hasBeenModified()
will return false.
resetModified in class Filter.FilterItemhasBeenModified()public Collection getAttrs()
Collection of the FilterAttr objects that are members of
this FilterClass instance.
Collection of FilterAttr objectspublic Iterator iterator()
Iterator that returns the FilterAttr objects associated with
this instance.
Iterator that returns FilterAttr objectspublic Filter.FilterAttr getFilterAttr(String attrName)
FilterAttr instance for an attribute in this
FilterClass instance.
attrName - name of attribute
FilterAttr instance or nullpublic Filter.FilterAttr newFilterAttr(String attrName)
FilterClass instance for an attribute,
if such an entry doesn't already exist.
attrName - name of attribute
FilterAttr instancepublic Filter.FilterAttr removeFilterAttr(String attrName)
FilterClass instance
if it exists.
attrName - name of attribute
FilterAttr instance or nullpublic boolean getPublisherCreateHomeDir()
true or falsepublic void setPublisherCreateHomeDir(boolean value)
value - true or falsepublic boolean getPublisherTrackTemplateMember()
true or falsepublic void setPublisherTrackTemplateMember(boolean value)
value - true or falsepublic Element toXML(Node parent)
FilterClass 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
hasBeenModified(),
resetModified()
protected void checkSyncMode(int mode)
throws IllegalArgumentException
FilterClass
checkSyncMode in class Filter.FilterItemmode - sync mode to check
IllegalArgumentException - if mode parameter
isn't one of SYNC_IGNORE or SYNC_SYNCprotected String getElementName()
FilterClass objects
in XML.
getElementName in class Filter.FilterItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||