public class Xpp3DomBuilder extends Object
| 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) |
public static Xpp3Dom build(@WillClose @Nonnull Reader reader) throws XmlPullParserException
reader - ReaderXmlPullParserException - in case of an error.public static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding) throws XmlPullParserException
is - InputStreamencoding - The encoding.XmlPullParserException - in case of an error.public static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding, boolean trim) throws XmlPullParserException
is - InputStreamencoding - The encoding.trim - true/false.XmlPullParserException - in case of an error.public static Xpp3Dom build(@WillClose Reader reader, boolean trim) throws XmlPullParserException
reader - Readertrim - true/false.XmlPullParserException - in case of an error.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.