|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Descriptor
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 | |
---|---|
String[] |
getAttributeList()
Returns an array of attribute names for the current node. |
String |
getAttributeValue(String attr)
Returns the value of the named attribute. |
Enumeration |
getChildren()
Returns the Descriptors of the children of this node. |
Descriptor |
getDescriptor(String qualifiedName)
Returns the Descriptor for another element contained within the same document. |
String |
getName()
Returns the simple name of the Descriptor as specified on the name= attribute of its associated tag. |
String |
getQualifiedName()
Returns the qualified name of the Descriptor. |
String |
getTagName()
Returns the tag name of the Descriptor. |
boolean |
hasChildren()
Returns true if this Descriptor has childen. |
Method Detail |
---|
String[] getAttributeList()
String getAttributeValue(String attr)
Enumeration getChildren()
Descriptor getDescriptor(String qualifiedName)
String getName()
String getQualifiedName()
String getTagName()
boolean hasChildren()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |