com.thoughtworks.xstream.ext
Class MXppReader

java.lang.Object
  extended by com.thoughtworks.xstream.ext.MXppReader
All Implemented Interfaces:
com.thoughtworks.xstream.io.HierarchicalStreamReader

public class MXppReader
extends Object
implements com.thoughtworks.xstream.io.HierarchicalStreamReader


Constructor Summary
MXppReader(Reader reader)
           
 
Method Summary
 void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
           
 void close()
           
protected  org.xmlpull.v1.XmlPullParser createParser()
           
 String getAttribute(String name)
           
 int getAttributeCount()
           
 String getAttributeName(int i)
           
 String getAttributeValue(int i)
           
 int getLineNumber()
           
 String getNodeName()
           
 String getValue()
           
 boolean hasMoreChildren()
           
 boolean hasValue()
           
 void moveDown()
           
 void moveUp()
           
 Object peekUnderlyingNode()
           
 com.thoughtworks.xstream.io.HierarchicalStreamReader underlyingReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MXppReader

public MXppReader(Reader reader)
Method Detail

createParser

protected final org.xmlpull.v1.XmlPullParser createParser()

hasMoreChildren

public boolean hasMoreChildren()
Specified by:
hasMoreChildren in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

moveDown

public void moveDown()
Specified by:
moveDown in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

moveUp

public void moveUp()
Specified by:
moveUp in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

hasValue

public boolean hasValue()

getValue

public String getValue()
Specified by:
getValue in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

getAttribute

public String getAttribute(String name)
Specified by:
getAttribute in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

peekUnderlyingNode

public Object peekUnderlyingNode()
Specified by:
peekUnderlyingNode in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

appendErrors

public void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
Specified by:
appendErrors in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

getAttributeName

public String getAttributeName(int i)

getAttributeValue

public String getAttributeValue(int i)

getAttributeCount

public int getAttributeCount()

getLineNumber

public int getLineNumber()

close

public void close()
Specified by:
close in interface com.thoughtworks.xstream.io.HierarchicalStreamReader

underlyingReader

public com.thoughtworks.xstream.io.HierarchicalStreamReader underlyingReader()
Specified by:
underlyingReader in interface com.thoughtworks.xstream.io.HierarchicalStreamReader