Class MXParserReader

java.lang.Object
com.thoughtworks.xstream.io.AbstractReader
com.thoughtworks.xstream.io.xml.AbstractXmlReader
com.thoughtworks.xstream.io.xml.AbstractPullReader
org.infinispan.server.core.dataconversion.xml.MXParserReader
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ErrorReporter, com.thoughtworks.xstream.io.ExtendedHierarchicalStreamReader, com.thoughtworks.xstream.io.HierarchicalStreamReader

public class MXParserReader extends com.thoughtworks.xstream.io.xml.AbstractPullReader
  • Field Summary

    Fields inherited from class com.thoughtworks.xstream.io.xml.AbstractPullReader

    COMMENT, END_NODE, OTHER, START_NODE, TEXT
  • Constructor Summary

    Constructors
    Constructor
    Description
    MXParserReader(Reader reader, org.infinispan.commons.configuration.io.xml.MXParser parser)
     
    MXParserReader(Reader reader, org.infinispan.commons.configuration.io.xml.MXParser parser, com.thoughtworks.xstream.io.naming.NameCoder nameCoder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
     
    void
     
    getAttribute(int index)
     
     
    int
     
    getAttributeName(int index)
     
    protected String
     
    protected int
     
    protected String
     

    Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractPullReader

    getAttributeNames, getNodeName, getValue, hasMoreChildren, mark, moveDown, moveUp, peekNextChild, reset

    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, underlyingReader

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MXParserReader

      public MXParserReader(Reader reader, org.infinispan.commons.configuration.io.xml.MXParser parser)
    • MXParserReader

      public MXParserReader(Reader reader, org.infinispan.commons.configuration.io.xml.MXParser parser, com.thoughtworks.xstream.io.naming.NameCoder nameCoder)
  • Method Details

    • pullNextEvent

      protected int pullNextEvent()
      Specified by:
      pullNextEvent in class com.thoughtworks.xstream.io.xml.AbstractPullReader
    • pullElementName

      protected String pullElementName()
      Specified by:
      pullElementName in class com.thoughtworks.xstream.io.xml.AbstractPullReader
    • pullText

      protected String pullText()
      Specified by:
      pullText in class com.thoughtworks.xstream.io.xml.AbstractPullReader
    • getAttribute

      public String getAttribute(String name)
    • getAttribute

      public String getAttribute(int index)
    • getAttributeCount

      public int getAttributeCount()
    • getAttributeName

      public String getAttributeName(int index)
    • appendErrors

      public void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
    • close

      public void close()