2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.databinding.xml
Class BeanXMLStreamReaderImpl.BeanXmlNodeImpl
java.lang.Object
org.apache.tuscany.sca.databinding.xml.SimpleXmlNodeImpl
org.apache.tuscany.sca.databinding.xml.BeanXMLStreamReaderImpl.BeanXmlNodeImpl
- All Implemented Interfaces:
- XmlNode
- Enclosing class:
- BeanXMLStreamReaderImpl
public static class BeanXMLStreamReaderImpl.BeanXmlNodeImpl
- extends SimpleXmlNodeImpl
- implements XmlNode
Nested classes/interfaces inherited from interface org.apache.tuscany.sca.databinding.xml.XmlNode |
XmlNode.Type |
Method Summary |
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. |
static javax.xml.namespace.QName |
getName(java.lang.Class<?> cls)
|
java.lang.String |
getValue()
Return the text value of the leaf element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanXMLStreamReaderImpl.BeanXmlNodeImpl
public BeanXMLStreamReaderImpl.BeanXmlNodeImpl(java.lang.Object bean)
BeanXMLStreamReaderImpl.BeanXmlNodeImpl
public BeanXMLStreamReaderImpl.BeanXmlNodeImpl(javax.xml.namespace.QName name,
java.lang.Object bean)
children
public java.util.Iterator<XmlNode> children()
- Description copied from interface:
XmlNode
- Returns the children of the receiver as an
Iterator
.
- Specified by:
children
in interface XmlNode
- Overrides:
children
in class SimpleXmlNodeImpl
- See Also:
XmlNode.children()
getName
public javax.xml.namespace.QName getName()
- Description copied from interface:
XmlNode
- Return the QName of the element. If it's for a text node, the name is null.
- Specified by:
getName
in interface XmlNode
- Overrides:
getName
in class SimpleXmlNodeImpl
- Returns:
- See Also:
XmlNode.getName()
getValue
public java.lang.String getValue()
- Description copied from interface:
XmlNode
- Return the text value of the leaf element
- Specified by:
getValue
in interface XmlNode
- Overrides:
getValue
in class SimpleXmlNodeImpl
- Returns:
- See Also:
XmlNode.getValue()
getName
public static javax.xml.namespace.QName getName(java.lang.Class<?> cls)