Class Xpp3DomBuilder
java.lang.Object
org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- Author:
- Kristian Rosenvold
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Xpp3Dombuild(InputStream is, String encoding) static Xpp3Dombuild(InputStream is, String encoding, boolean noop) Deprecated.use the two-arg variantstatic Xpp3Domstatic Xpp3DomDeprecated.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-InputStreamencoding- 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-InputStreamencoding- 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-Readernoop- vestigial argument with no effect- Returns:
- the built DOM
- Throws:
XmlPullParserException- in case of an error
-