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 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 trim)static Xpp3Dombuild(java.io.Reader reader)static Xpp3Dombuild(java.io.Reader in, boolean trim)
-
-
-
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
public static Xpp3Dom build(@WillClose java.io.InputStream is, @Nonnull java.lang.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
public static Xpp3Dom build(@WillClose java.io.Reader in, boolean trim) throws XmlPullParserException
- Parameters:
in-Readertrim- true/false- Returns:
- the built DOM
- Throws:
XmlPullParserException- in case of an error
-
-