|
||||||||||
| 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
Superclass implementation of all elements.
| Method Summary | |
String |
attributeValueGet(String attrName)
Returns the value of attribute someAttrName. |
String |
attributeValueGet(String someNamespaceName,
String someAttrName)
Returns the value of attribute someAttrName in namespace
someNamespaceName. |
void |
attributeValueSet(String name,
String value)
Sets this element's someAttrName attribute to value
someValue. |
List |
childElements()
Returns this element's child elements. |
DocumentImpl |
documentImpl()
Returns the backing DOM document. |
Document |
domDocument()
Returns a reference for this element's DOM document. |
Element |
domElement()
Returns a DOM reference for this element. |
String |
localName()
Returns this element's unprefixed tag name. |
String |
namespaceName()
Returns this element's namespace name. |
int |
position()
Returns the position of this element relative to its parent where the first position is 1. |
String |
tagName()
Returns this element's tag name, including namespace prefix. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public String tagName()
XDSElement
e.g. if this element's tag name were xds:tag, this method
would return xds:tag
tagName in interface XDSElementnullpublic Element domElement()
XDSElement
domElement in interface XDSElementnullpublic Document domDocument()
XDSElement
domDocument in interface XDSElementnullpublic int position()
XDSElement
position in interface XDSElementpublic DocumentImpl documentImpl()
nullpublic String attributeValueGet(String attrName)
XDSElementsomeAttrName.
attributeValueGet in interface XDSElementattrName - if null, returns null
null
public void attributeValueSet(String name,
String value)
XDSElementsomeAttrName attribute to value
someValue.
attributeValueSet in interface XDSElementname - if null, no action is takenvalue - if null, no action is takenpublic String localName()
XDSElement
e.g. if this element's tag name were xds:tag, this method
would return tag
localName in interface XDSElementnullpublic String namespaceName()
XDSElement
e.g. if this element's tag name were xds:tag, and the
namespace prefix xds resolved to
urn:dirxml:xds, this method would return
urn:dirxml:xds
namespaceName in interface XDSElementnull
public String attributeValueGet(String someNamespaceName,
String someAttrName)
XDSElementsomeAttrName in namespace
someNamespaceName.
attributeValueGet in interface XDSElementsomeNamespaceName - may be nullsomeAttrName - if null, returns null
nullpublic List childElements()
XDSElement
childElements in interface XDSElementCollections.EMPTY_LIST or a list of
XDSElement and NonXDSElement objects;
will not return null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||