Package com.thoughtworks.xstream.io.xml

Examples of com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer


{

  private static boolean xppLibraryPresent;

  public LookAheadXppDriver() {
    super(new XmlFriendlyReplacer());
  }
View Full Code Here


    QName qname = new QName("http://www.w3.org/2005/Atom", "atom");
    qnameMap.registerMapping(qname, DefaultRelation.class);
    // we need the replacer because
    // xstream replaces an _ with __ (two underscore) more information at
    // http://xstream.codehaus.org/faq.html#XML_double_underscores
    XmlFriendlyReplacer replacer = new XmlFriendlyReplacer("$", "_");
    helper = new XStreamHelper(new StaxDriver(qnameMap, replacer), enhancer);
  }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.