Class Xpp3DomBuilder
java.lang.Object
org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- Author:
- Kristian Rosenvold
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Xpp3Dom
build
(InputStream is, String encoding) static Xpp3Dom
build
(InputStream is, String encoding, boolean noop) Deprecated.use the two-arg variantstatic Xpp3Dom
static Xpp3Dom
Deprecated.use {#build(java.io.Reader)}
-
Constructor Details
-
Xpp3DomBuilder
public Xpp3DomBuilder()
-
-
Method Details
-
build
- Parameters:
reader
-Reader
- Returns:
- the built DOM
- Throws:
XmlPullParserException
- in case of an error
-
build
public static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding) throws XmlPullParserException - Parameters:
is
-InputStream
encoding
- the encoding- Returns:
- the built DOM
- Throws:
XmlPullParserException
- in case of an error
-
build
@Deprecated public static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding, boolean noop) throws XmlPullParserException Deprecated.use the two-arg variant- Parameters:
is
-InputStream
encoding
- the encodingnoop
- vestigial argument with no effect- Returns:
- the built DOM
- Throws:
XmlPullParserException
- in case of an error
-
build
@Deprecated public static Xpp3Dom build(@WillClose Reader in, boolean noop) throws XmlPullParserException Deprecated.use {#build(java.io.Reader)}- Parameters:
in
-Reader
noop
- vestigial argument with no effect- Returns:
- the built DOM
- Throws:
XmlPullParserException
- in case of an error
-