public class Xpp3DomBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Xpp3DomBuilder.InputLocationBuilder
Input location builder interface, to be implemented to choose how to store data.
|
Constructor and Description |
---|
Xpp3DomBuilder() |
Modifier and Type | Method and Description |
---|---|
static Xpp3Dom |
build(InputStream is,
String encoding) |
static Xpp3Dom |
build(InputStream is,
String encoding,
boolean trim) |
static Xpp3Dom |
build(Reader reader) |
static Xpp3Dom |
build(Reader reader,
boolean trim) |
static Xpp3Dom |
build(Reader reader,
boolean trim,
Xpp3DomBuilder.InputLocationBuilder locationBuilder) |
static Xpp3Dom |
build(Reader reader,
Xpp3DomBuilder.InputLocationBuilder locationBuilder) |
static Xpp3Dom |
build(XmlPullParser parser) |
static Xpp3Dom |
build(XmlPullParser parser,
boolean trim) |
static Xpp3Dom |
build(XmlPullParser parser,
boolean trim,
Xpp3DomBuilder.InputLocationBuilder locationBuilder) |
public static Xpp3Dom build(Reader reader) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public static Xpp3Dom build(Reader reader, Xpp3DomBuilder.InputLocationBuilder locationBuilder) throws XmlPullParserException, IOException
reader
- the readerlocationBuilder
- the builderXmlPullParserException
- xml exceptionIOException
- iopublic static Xpp3Dom build(InputStream is, String encoding) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public static Xpp3Dom build(InputStream is, String encoding, boolean trim) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public static Xpp3Dom build(Reader reader, boolean trim) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public static Xpp3Dom build(Reader reader, boolean trim, Xpp3DomBuilder.InputLocationBuilder locationBuilder) throws XmlPullParserException, IOException
reader
- the readertrim
- to trimlocationBuilder
- the builderXmlPullParserException
- xml exceptionIOException
- iopublic static Xpp3Dom build(XmlPullParser parser) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public static Xpp3Dom build(XmlPullParser parser, boolean trim) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public static Xpp3Dom build(XmlPullParser parser, boolean trim, Xpp3DomBuilder.InputLocationBuilder locationBuilder) throws XmlPullParserException, IOException
locationBuilder
- builderparser
- the parsertrim
- do trimXmlPullParserException
- xml exceptionIOException
- ioCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.