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.AbstractDocumentReadertodo - 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 StringgetAttribute(int i)StringgetAttribute(String s)intgetAttributeCount()StringgetAttributeName(int i)protected ObjectgetChild(int i)protected intgetChildCount()StringgetNodeName()protected ObjectgetParent()StringgetValue()protected voidreassignCurrentElement(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:
reassignCurrentElementin classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getParent
protected Object getParent()
- Specified by:
getParentin classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getChild
protected Object getChild(int i)
- Specified by:
getChildin classcom.thoughtworks.xstream.io.xml.AbstractDocumentReader
-
getChildCount
protected int getChildCount()
- Specified by:
getChildCountin 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)
-
-