Package org.jxmpp.xml.splitter
Class XmlPrettyPrinter
- java.lang.Object
-
- org.jxmpp.xml.splitter.XmlPrinter
-
- org.jxmpp.xml.splitter.XmlPrettyPrinter
-
public class XmlPrettyPrinter extends XmlPrinter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmlPrettyPrinter.Builder
static interface
XmlPrettyPrinter.PrettyPrintedXmlChunkSink
A functional interface which acts as sink for character sequences.static interface
XmlPrettyPrinter.PrettyPrintedXmlChunkWithCurrentPartCallback
static interface
XmlPrettyPrinter.PrettyPrintedXmlPartCallback
-
Constructor Summary
Constructors Constructor Description XmlPrettyPrinter(XmlPrettyPrinter.PrettyPrintedXmlChunkSink prettyWriter)
Construct a new XML pretty printer.XmlPrettyPrinter(XmlPrettyPrinter.PrettyPrintedXmlPartCallback partCallback)
Construct a new XML pretty printer.
-
-
-
Constructor Detail
-
XmlPrettyPrinter
public XmlPrettyPrinter(XmlPrettyPrinter.PrettyPrintedXmlPartCallback partCallback)
Construct a new XML pretty printer.- Parameters:
partCallback
- a part callback.
-
XmlPrettyPrinter
public XmlPrettyPrinter(XmlPrettyPrinter.PrettyPrintedXmlChunkSink prettyWriter)
Construct a new XML pretty printer.- Parameters:
prettyWriter
- a writer for the pretty printed XML stream.
-
-
Method Detail
-
builder
public static XmlPrettyPrinter.Builder builder()
Create a new builder.- Returns:
- a new builder.
-
-