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
ConstructorDescriptionMXParserReader
(Reader reader, MXParser parser) MXParserReader
(Reader reader, MXParser parser, com.thoughtworks.xstream.io.naming.NameCoder nameCoder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendErrors
(com.thoughtworks.xstream.converters.ErrorWriter errorWriter) void
close()
getAttribute
(int index) getAttribute
(String name) int
getAttributeName
(int index) protected String
protected int
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
Methods inherited from class com.thoughtworks.xstream.io.AbstractReader
decodeAttribute, decodeNode, encodeAttribute, encodeNode, underlyingReader
-
Constructor Details
-
MXParserReader
-
MXParserReader
-
-
Method Details
-
pullNextEvent
protected int pullNextEvent()- Specified by:
pullNextEvent
in classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullElementName
- Specified by:
pullElementName
in classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullText
- Specified by:
pullText
in classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
getAttribute
-
getAttribute
-
getAttributeCount
public int getAttributeCount() -
getAttributeName
-
appendErrors
public void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter) -
close
public void close()
-