/** * @deprecated As of 1.4, use {@link #XppReader(Reader, XmlPullParser)} instead */ public XppReader(Reader reader) { this(reader, new XmlFriendlyReplacer()); }
/** * @deprecated As of 1.3 */ public PrettyPrintWriter(Writer writer, char[] lineIndenter, String newLine) { this(writer, lineIndenter, newLine, new XmlFriendlyReplacer()); }
public ReaderImpl(XStreamDOM current) { super(new XmlFriendlyReplacer()); pointers.push(new Pointer(current)); }
/** * @deprecated since 1.3 */ public PrettyPrintWriter(Writer writer, char[] lineIndenter, String newLine) { this(writer, lineIndenter, newLine, new XmlFriendlyReplacer()); }
/** * @since 1.3 */ public PrettyPrintWriter(Writer writer, int mode, char[] lineIndenter) { this(writer, mode, lineIndenter, new XmlFriendlyReplacer()); }
/** * Construct a DomDriver with a specified encoding. The created DomReader will ignore any * encoding attribute of the XML header though. */ public DomDriver(String encoding) { this(encoding, new XmlFriendlyReplacer()); }
/** * Creates a AbstractXmlFriendlyDriver with default XmlFriendlyReplacer */ public AbstractXmlDriver() { this(new XmlFriendlyReplacer()); }
/** * @deprecated As of 1.4, use {@link #XppReader(Reader, XmlPullParser)} instead */ public XppReader(Reader reader) { this(reader, new XmlFriendlyReplacer()); }
/** * @deprecated As of 1.4, use {@link #XppReader(Reader, XmlPullParser)} instead */ public XppReader(Reader reader) { this(reader, new XmlFriendlyReplacer()); }
/** * @since 1.2.1 */ public Dom4JWriter(final DocumentFactory documentFactory) { this(documentFactory, new XmlFriendlyReplacer()); }
/** * Allows a StaxWriter to be created for partial XML output * * @param qnameMap is the mapper of Java class names to QNames * @param out the stream to output to * @param writeEnclosingDocument a flag to indicate whether or not the start/end document events should be written * @throws XMLStreamException if the events could not be written to the output */ public StaxWriter(QNameMap qnameMap, XMLStreamWriter out, boolean writeEnclosingDocument, boolean namespaceRepairingMode) throws XMLStreamException { this(qnameMap, out, writeEnclosingDocument, namespaceRepairingMode, new XmlFriendlyReplacer()); }
/** * @deprecated since 1.3 */ public PrettyPrintWriter(Writer writer, char[] lineIndenter, String newLine) { this(writer, lineIndenter, newLine, new XmlFriendlyReplacer()); }
/** * @since 1.2.1 */ public XppDomWriter(final Xpp3Dom parent) { this(parent, new XmlFriendlyReplacer()); }
/** * @deprecated As of 1.3 */ public PrettyPrintWriter(Writer writer, char[] lineIndenter, String newLine) { this(writer, lineIndenter, newLine, new XmlFriendlyReplacer()); }
/** * @deprecated As of 1.4, use {@link #XppReader(Reader, XmlPullParser)} instead */ @Deprecated public XppReader(final Reader reader) { this(reader, new XmlFriendlyReplacer()); }
public DcsPullDriver(QNameMap qnames) { outFactory = XMLOutputFactory.newInstance(); inFactory = XMLInputFactory.newInstance(); this.replacer = new XmlFriendlyReplacer(); this.qnames = qnames; }
/** * Converts the object to an XML string * * @return resulting XML string */ public String toXML() { XStream xstream = new XStream(new XppDriver(new XmlFriendlyReplacer( "$", "_"))); setXstreamProps(xstream); return xstream.toXML(this); }
/** * Converts the object to an XML string * * @return resulting XML string */ public String toXML() { XStream xstream = new XStream(new XppDriver(new XmlFriendlyReplacer( "$", "_"))); this.setXstreamProps(xstream); return xstream.toXML(this); }
/** * @since 1.2.1 */ public Dom4JWriter() { this(new DocumentFactory(), new XmlFriendlyReplacer()); }
/** * @since 1.2.1 */ public Dom4JWriter() { this(new DocumentFactory(), new XmlFriendlyReplacer()); }