com.thoughtworks.xstream.io.xml
Class XppDriver

java.lang.Object
  extended by com.thoughtworks.xstream.io.AbstractDriver
      extended by com.thoughtworks.xstream.io.xml.AbstractXmlDriver
          extended by com.thoughtworks.xstream.io.xml.AbstractXppDriver
              extended by com.thoughtworks.xstream.io.xml.XppDriver
All Implemented Interfaces:
HierarchicalStreamDriver

public class XppDriver
extends AbstractXppDriver

A HierarchicalStreamDriver using the XmlPullParserFactory to locate an XML Pull Parser.

Author:
Joe Walnes, Jörg Schaible

Constructor Summary
XppDriver()
           
XppDriver(NameCoder nameCoder)
           
XppDriver(XmlFriendlyReplacer replacer)
          Deprecated. As of 1.4, use XppDriver(NameCoder) instead.
 
Method Summary
protected  org.xmlpull.v1.XmlPullParser createParser()
          Create the parser of the XPP implementation.
 
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXppDriver
createReader, createReader, createWriter, createWriter
 
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlDriver
xmlFriendlyReplacer
 
Methods inherited from class com.thoughtworks.xstream.io.AbstractDriver
createReader, createReader, getNameCoder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XppDriver

public XppDriver()

XppDriver

public XppDriver(NameCoder nameCoder)
Since:
1.4

XppDriver

public XppDriver(XmlFriendlyReplacer replacer)
Deprecated. As of 1.4, use XppDriver(NameCoder) instead.

Since:
1.2
Method Detail

createParser

protected org.xmlpull.v1.XmlPullParser createParser()
                                             throws org.xmlpull.v1.XmlPullParserException
Create the parser of the XPP implementation.

Specified by:
createParser in class AbstractXppDriver
Throws:
org.xmlpull.v1.XmlPullParserException - if the parser cannot be created


Copyright © 2004-2014 XStream. All Rights Reserved.