|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Descriptor interface defines a mechanism for inspecting a node of an XML based document.
The idea is to give a programmer the ability to inspect the various tags and attribute values without having to parse the tags. This is useful in that some XML based documents do post-parser processing that can then be handled appropriately by implementations of this interface.
Method Summary | |
java.lang.String[] |
getAttributeList()
Returns an array of attribute names for the current node. |
java.lang.String |
getAttributeValue(java.lang.String attr)
Returns the value of the named attribute. |
java.util.Enumeration |
getChildren()
Returns the Descriptors of the children of this node. |
Descriptor |
getDescriptor(java.lang.String qualifiedName)
Returns the Descriptor for another element contained within the same document. |
java.lang.String |
getName()
Returns the simple name of the Descriptor as specified on the name= attribute of its associated tag. |
java.lang.String |
getQualifiedName()
Returns the qualified name of the Descriptor. |
java.lang.String |
getTagName()
Returns the tag name of the Descriptor. |
boolean |
hasChildren()
Returns true if this Descriptor has childen. |
Method Detail |
public java.lang.String[] getAttributeList()
public java.lang.String getAttributeValue(java.lang.String attr)
public java.util.Enumeration getChildren()
public Descriptor getDescriptor(java.lang.String qualifiedName)
public java.lang.String getName()
public java.lang.String getQualifiedName()
public java.lang.String getTagName()
public boolean hasChildren()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |