|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Any element defined in the XDS DTD.
| Method Summary | |
String |
attributeValueGet(String someAttrName)
Returns the value of attribute someAttrName. |
String |
attributeValueGet(String someNamespaceName,
String someAttrName)
Returns the value of attribute someAttrName in namespace
someNamespaceName. |
void |
attributeValueSet(String someAttrName,
String someValue)
Sets this element's someAttrName attribute to value
someValue. |
List |
childElements()
Returns this element's child elements. |
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. |
| Method Detail |
public Document domDocument()
nullpublic Element domElement()
nullpublic String localName()
e.g. if this element's tag name were xds:tag, this method
would return tag
nullpublic String tagName()
e.g. if this element's tag name were xds:tag, this method
would return xds:tag
nullpublic String namespaceName()
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
null
public String attributeValueGet(String someNamespaceName,
String someAttrName)
someAttrName in namespace
someNamespaceName.
someNamespaceName - may be nullsomeAttrName - if null, returns null
nullpublic String attributeValueGet(String someAttrName)
someAttrName.
someAttrName - if null, returns null
nullpublic int position()
public void attributeValueSet(String someAttrName,
String someValue)
someAttrName attribute to value
someValue.
someAttrName - if null, no action is takensomeValue - if null, no action is takenpublic List childElements()
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 | |||||||||