|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlNode
Nested Class Summary | |
---|---|
static class |
XmlNode.Type
|
Method Summary | ||
---|---|---|
java.util.List<XmlNode> |
attributes()
Returns the attributes of the element as an List . |
|
java.util.Iterator<XmlNode> |
children()
Returns the children of the receiver as an Iterator . |
|
javax.xml.namespace.QName |
getName()
Return the QName of the element. |
|
XmlNode.Type |
getType()
Return the type of the XML node |
|
|
getValue()
Return the text value of the leaf element |
|
java.util.Map<java.lang.String,java.lang.String> |
namespaces()
Returns a map of prefix to namespace URI |
Method Detail |
---|
java.util.Iterator<XmlNode> children()
Iterator
.
java.util.List<XmlNode> attributes()
List
. Namespace declarations
should be excluded.
java.util.Map<java.lang.String,java.lang.String> namespaces()
javax.xml.namespace.QName getName()
<T> T getValue()
XmlNode.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |