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
-InputStream
encoding
- 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
-InputStream
encoding
- The encoding.trim
- true/false.- Returns:
- the built dom.
- Throws:
XmlPullParserException
- in case of an error.
-
build
- Parameters:
reader
-Reader
trim
- true/false- Returns:
- the built dom
- Throws:
XmlPullParserException
- in case of an error
-