com.thoughtworks.xstream.io.xml
Class Xpp3Driver

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.Xpp3Driver
All Implemented Interfaces:
HierarchicalStreamDriver

public class Xpp3Driver
extends AbstractXppDriver

A HierarchicalStreamDriver using the Xpp3 parser.

Since:
1.4
Author:
Jörg Schaible

Constructor Summary
Xpp3Driver()
          Construct an Xpp3Driver.
Xpp3Driver(NameCoder nameCoder)
          Construct an Xpp3Driver.
 
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

Xpp3Driver

public Xpp3Driver()
Construct an Xpp3Driver.

Since:
1.4

Xpp3Driver

public Xpp3Driver(NameCoder nameCoder)
Construct an Xpp3Driver.

Parameters:
nameCoder - the replacer for XML friendly names
Since:
1.4
Method Detail

createParser

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

Specified by:
createParser in class AbstractXppDriver


Copyright © 2004-2014 XStream. All Rights Reserved.