|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.databinding.xml.DOMXmlNodeImpl
public class DOMXmlNodeImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.tuscany.sca.databinding.xml.XmlNode |
---|
XmlNode.Type |
Constructor Summary | |
---|---|
DOMXmlNodeImpl(org.w3c.dom.Node element)
|
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 |
java.lang.String |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMXmlNodeImpl(org.w3c.dom.Node element)
element
- Method Detail |
---|
public java.util.List<XmlNode> attributes()
XmlNode
List
. Namespace declarations
should be excluded.
attributes
in interface XmlNode
XmlNode.attributes()
public java.util.Iterator<XmlNode> children()
XmlNode
Iterator
.
children
in interface XmlNode
XmlNode.children()
public javax.xml.namespace.QName getName()
XmlNode
getName
in interface XmlNode
XmlNode.getName()
public java.lang.String getValue()
XmlNode
getValue
in interface XmlNode
XmlNode.getValue()
public java.util.Map<java.lang.String,java.lang.String> namespaces()
XmlNode
namespaces
in interface XmlNode
XmlNode.namespaces()
public XmlNode.Type getType()
XmlNode
getType
in interface XmlNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |