public class Xpp3DomBuilder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
Xpp3DomBuilder.DocHandler |
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
DEFAULT_TRIM |
| Constructor and Description |
|---|
Xpp3DomBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Xpp3Dom |
build(java.io.InputStream is,
java.lang.String encoding) |
static Xpp3Dom |
build(java.io.InputStream is,
java.lang.String encoding,
boolean trim) |
static Xpp3Dom |
build(java.io.Reader reader) |
static Xpp3Dom |
build(java.io.Reader reader,
boolean trim) |
private static org.xml.sax.XMLReader |
createXmlReader() |
private static org.xml.sax.XMLReader |
instantiate(java.lang.String s) |
private static Xpp3DomBuilder.DocHandler |
parseSax(org.xml.sax.InputSource inputSource,
boolean trim) |
private static final boolean DEFAULT_TRIM
public static Xpp3Dom build(@WillClose @Nonnull java.io.Reader reader) throws XmlPullParserException
reader - ReaderXmlPullParserException - in case of an error.public static Xpp3Dom build(@WillClose java.io.InputStream is, @Nonnull java.lang.String encoding) throws XmlPullParserException
is - InputStreamencoding - The encoding.XmlPullParserException - in case of an error.public static Xpp3Dom build(@WillClose java.io.InputStream is, @Nonnull java.lang.String encoding, boolean trim) throws XmlPullParserException
is - InputStreamencoding - The encoding.trim - true/false.XmlPullParserException - in case of an error.public static Xpp3Dom build(@WillClose java.io.Reader reader, boolean trim) throws XmlPullParserException
reader - Readertrim - true/false.XmlPullParserException - in case of an error.private static Xpp3DomBuilder.DocHandler parseSax(@Nonnull org.xml.sax.InputSource inputSource, boolean trim) throws XmlPullParserException
XmlPullParserExceptionprivate static org.xml.sax.XMLReader createXmlReader()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprivate static org.xml.sax.XMLReader instantiate(java.lang.String s)