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 Xpp3Dombuild(java.io.InputStream is, java.lang.String encoding)static Xpp3Dombuild(java.io.InputStream is, java.lang.String encoding, boolean noop)Deprecated.use the two-arg variantstatic Xpp3Dombuild(java.io.Reader reader)static Xpp3Dombuild(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-InputStreamencoding- 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-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 java.io.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
-
-