|
||||||||||
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 XDSElement
null
public Element domElement()
XDSElement
domElement
in interface XDSElement
null
public Document domDocument()
XDSElement
domDocument
in interface XDSElement
null
public int position()
XDSElement
position
in interface XDSElement
public DocumentImpl documentImpl()
null
public String attributeValueGet(String attrName)
XDSElement
someAttrName
.
attributeValueGet
in interface XDSElement
attrName
- if null
, returns null
null
public void attributeValueSet(String name, String value)
XDSElement
someAttrName
attribute to value
someValue
.
attributeValueSet
in interface XDSElement
name
- 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 XDSElement
null
public 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 XDSElement
null
public String attributeValueGet(String someNamespaceName, String someAttrName)
XDSElement
someAttrName
in namespace
someNamespaceName
.
attributeValueGet
in interface XDSElement
someNamespaceName
- may be null
someAttrName
- if null
, returns null
null
public List childElements()
XDSElement
childElements
in interface XDSElement
Collections.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 |