|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.xds.ElementImpl
com.novell.nds.dirxml.driver.xds.XDSInstanceElement
An <instance>
element.
QueryResultDocument.appendInstanceElement()
,
QueryResultDocument.extractInstanceElements()
Method Summary | |
XDSAssociationElement |
appendAssociationElement(String someText)
Appends a child <association> element to this
element. |
XDSAttrElement |
appendAttrElement()
Appends an empty child <attr> element to this
element. |
XDSParentElement |
appendParentElement()
Appends an empty child <parent> element to this
element. |
List |
childElements()
Returns this element's child elements. |
XDSAssociationElement |
extractAssociationElement()
Returns this element's child <association> element. |
String |
extractAssociationText()
Returns the concatenated child text nodes from this element's child <association> element. |
List |
extractAttrElements()
Returns this element's child attr elements. |
XDSParentElement |
extractParentElement()
Returns this element's child <parent> element. |
String |
getClassName()
Gets the value of this element's class-name attribute. |
String |
getEventID()
Gets the value of this element's event-id attribute. |
String |
getQualifiedSrcDN()
Gets the value of this element's qualified-src-dn
attribute. |
String |
getSrcDN()
Gets the value of this element's src-dn attribute. |
void |
setClassName(String someName)
Sets this element's class-name attribute to
someName . |
void |
setEventID(String someID)
Sets this element's event-id attribute to
someID . |
void |
setSrcDN(String someDN)
Sets this element's src-dn attribute to
someDN . |
Methods inherited from class com.novell.nds.dirxml.driver.xds.ElementImpl |
attributeValueGet, attributeValueGet, attributeValueSet, documentImpl, domDocument, domElement, localName, namespaceName, position, tagName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.XDSElement |
attributeValueGet, attributeValueGet, attributeValueSet, domDocument, domElement, localName, namespaceName, position, tagName |
Method Detail |
public String getClassName()
class-name
attribute.
null
; will not return
""
public String getSrcDN()
src-dn
attribute.
null
; will not return ""
public String getQualifiedSrcDN()
qualified-src-dn
attribute.
null
; will not return ""
public String getEventID()
event-id
attribute.
null
; will not return ""
public XDSParentElement extractParentElement()
<parent>
element.
null
public List childElements()
childElements
in interface XDSElement
childElements
in class ElementImpl
Collections.EMPTY_LIST
or a list of
XDSAttrElement
and NonXDSElement
objects; will not return null
public List extractAttrElements()
attr
elements.
java.util.Collections.EMPTY_LIST
or a list of
XDSAttrElement
objects; will not return
null
public XDSAssociationElement extractAssociationElement()
AssociationElementParent
<association>
element.
extractAssociationElement
in interface AssociationElementParent
null
public String extractAssociationText()
AssociationElementParent
<association>
element.
extractAssociationText
in interface AssociationElementParent
null
; will not return ""
public void setClassName(String someName)
class-name
attribute to
someName
.
someName
- if null
or ""
, no action is
takenpublic void setSrcDN(String someDN)
src-dn
attribute to
someDN
.
someDN
- if null
or ""
, no action is
takenpublic void setEventID(String someID)
event-id
attribute to
someID
.
someID
- if null
or ""
, no action is
takenpublic XDSAttrElement appendAttrElement()
<attr>
element to this
element.
null
public XDSParentElement appendParentElement()
<parent>
element to this
element.
null
public XDSAssociationElement appendAssociationElement(String someText)
AssociationElementParent
<association>
element to this
element. The <association>
element contains the text
someText
.
appendAssociationElement
in interface AssociationElementParent
someText
- the association value; if null
or
""
, an empty, child
<association>
element is appended
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |