Class 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 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 class com.thoughtworks.xstream.io.xml.AbstractDocumentReader
      • getParent

        protected Object getParent()
        Specified by:
        getParent in class com.thoughtworks.xstream.io.xml.AbstractDocumentReader
      • getChild

        protected Object getChild​(int i)
        Specified by:
        getChild in class com.thoughtworks.xstream.io.xml.AbstractDocumentReader
      • getChildCount

        protected int getChildCount()
        Specified by:
        getChildCount in class com.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)