| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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()
XmlNodeList. Namespace declarations 
 should be excluded.
attributes in interface XmlNodeXmlNode.attributes()public java.util.Iterator<XmlNode> children()
XmlNodeIterator.
children in interface XmlNodeXmlNode.children()public javax.xml.namespace.QName getName()
XmlNode
getName in interface XmlNodeXmlNode.getName()public java.lang.String getValue()
XmlNode
getValue in interface XmlNodeXmlNode.getValue()public java.util.Map<java.lang.String,java.lang.String> namespaces()
XmlNode
namespaces in interface XmlNodeXmlNode.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 | ||||||||