Class Xpp3DomBuilder
java.lang.Object
org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- Author:
- Kristian Rosenvold
-
Constructor Summary
Constructors -
Method Summary
-
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
public static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding, boolean trim) throws XmlPullParserException - Parameters:
is-InputStreamencoding- the encodingtrim- true/false- Returns:
- the built DOM
- Throws:
XmlPullParserException- in case of an error
-
build
- Parameters:
in-Readertrim- true/false- Returns:
- the built DOM
- Throws:
XmlPullParserException- in case of an error
-