Package com.bc.ceres.binding.dom
Class XStreamDomElementReader
- java.lang.Object
-
- com.thoughtworks.xstream.io.AbstractReader
-
- com.thoughtworks.xstream.io.xml.AbstractXmlReader
-
- com.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
- com.bc.ceres.binding.dom.XStreamDomElementReader
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.ErrorReporter
,com.thoughtworks.xstream.io.ExtendedHierarchicalStreamReader
,com.thoughtworks.xstream.io.HierarchicalStreamReader
,com.thoughtworks.xstream.io.xml.DocumentReader
public class XStreamDomElementReader extends com.thoughtworks.xstream.io.xml.AbstractDocumentReader
todo - add API doc- Since:
- BEAM 4.6
-
-
Constructor Summary
Constructors Constructor Description XStreamDomElementReader(DomElement child)
XStreamDomElementReader(DomElement child, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer xmlFriendlyReplacer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttribute(int i)
String
getAttribute(String s)
int
getAttributeCount()
String
getAttributeName(int i)
protected Object
getChild(int i)
protected int
getChildCount()
String
getNodeName()
protected Object
getParent()
String
getValue()
protected void
reassignCurrentElement(Object o)
-
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractDocumentReader
appendErrors, close, getAttributeNames, getCurrent, hasMoreChildren, moveDown, moveUp
-
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlReader
escapeXmlName, unescapeXmlName
-
Methods inherited from class com.thoughtworks.xstream.io.AbstractReader
decodeAttribute, decodeNode, encodeAttribute, encodeNode, peekNextChild, underlyingReader
-
-
-
-
Constructor Detail
-
XStreamDomElementReader
public XStreamDomElementReader(DomElement child)
-
XStreamDomElementReader
public XStreamDomElementReader(DomElement child, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer xmlFriendlyReplacer)
-
-
Method Detail
-
reassignCurrentElement
protected void reassignCurrentElement(Object o)
- Specified by:
reassignCurrentElement
in classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getParent
protected Object getParent()
- Specified by:
getParent
in classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getChild
protected Object getChild(int i)
- Specified by:
getChild
in classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getChildCount
protected int getChildCount()
- Specified by:
getChildCount
in classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getNodeName
public String getNodeName()
-
getValue
public String getValue()
-
getAttribute
public String getAttribute(int i)
-
getAttributeCount
public int getAttributeCount()
-
getAttributeName
public String getAttributeName(int i)
-
-