com.thoughtworks.xstream.io.xml
Class KXml2DomDriver

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.AbstractXppDomDriver
              extended by com.thoughtworks.xstream.io.xml.KXml2DomDriver
All Implemented Interfaces:
HierarchicalStreamDriver

public class KXml2DomDriver
extends AbstractXppDomDriver

A HierarchicalStreamDriver for XPP DOM using the kXML2 parser.

Since:
1.4
Author:
Jörg Schaible

Constructor Summary
KXml2DomDriver()
          Construct an KXml2DomDriver.
KXml2DomDriver(NameCoder nameCoder)
          Construct a KXml2DomDriver.
 
Method Summary
protected  org.xmlpull.v1.XmlPullParser createParser()
          Create the parser of the XPP implementation.
 
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXppDomDriver
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

KXml2DomDriver

public KXml2DomDriver()
Construct an KXml2DomDriver.

Since:
1.4

KXml2DomDriver

public KXml2DomDriver(NameCoder nameCoder)
Construct a KXml2DomDriver.

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 AbstractXppDomDriver


Copyright © 2004-2014 XStream. All Rights Reserved.