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
ConstructorsConstructorDescriptionMXParserReader(Reader reader, MXParser parser) MXParserReader(Reader reader, MXParser parser, com.thoughtworks.xstream.io.naming.NameCoder nameCoder) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter) voidclose()getAttribute(int index) getAttribute(String name) intgetAttributeName(int index) protected Stringprotected intprotected StringpullText()Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractPullReader
getAttributeNames, getNodeName, getValue, hasMoreChildren, mark, moveDown, moveUp, peekNextChild, resetMethods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlReader
escapeXmlName, unescapeXmlNameMethods 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:
pullNextEventin classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullElementName
- Specified by:
pullElementNamein classcom.thoughtworks.xstream.io.xml.AbstractPullReader
-
pullText
- Specified by:
pullTextin 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()
-