Class Xpp3DomBuilder
- java.lang.Object
-
- org.apache.maven.shared.utils.xml.Xpp3DomBuilder
-
public class Xpp3DomBuilder extends java.lang.Object
- Author:
- Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description Xpp3DomBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Xpp3Dom
build(java.io.InputStream is, java.lang.String encoding)
static Xpp3Dom
build(java.io.InputStream is, java.lang.String encoding, boolean noop)
Deprecated.use the two-arg variantstatic Xpp3Dom
build(java.io.Reader reader)
static Xpp3Dom
build(java.io.Reader in, boolean noop)
Deprecated.use {#build(java.io.Reader)}
-
-
-
Method Detail
-
build
public static Xpp3Dom build(@WillClose @Nonnull java.io.Reader reader) throws XmlPullParserException
- Parameters:
reader
-Reader
- Returns:
- the built DOM
- Throws:
XmlPullParserException
- in case of an error
-
build
public static Xpp3Dom build(@WillClose java.io.InputStream is, @Nonnull java.lang.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 java.io.InputStream is, @Nonnull java.lang.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 java.io.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
-
-