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
-
-
Constructor Summary
Constructors Constructor Description MXParserReader(Reader reader, MXParser parser)
MXParserReader(Reader reader, MXParser parser, com.thoughtworks.xstream.io.naming.NameCoder nameCoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
void
close()
String
getAttribute(int index)
String
getAttribute(String name)
int
getAttributeCount()
String
getAttributeName(int index)
protected String
pullElementName()
protected int
pullNextEvent()
protected String
pullText()
-
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
-
-
-
-
Method Detail
-
pullNextEvent
protected int pullNextEvent()
- Specified by:
pullNextEvent
in classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullElementName
protected String pullElementName()
- Specified by:
pullElementName
in classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullText
protected String pullText()
- Specified by:
pullText
in classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
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()
-
-