Class XmlNodeBuilder
java.lang.Object
org.apache.maven.internal.xml.XmlNodeBuilder
Deprecated.
All methods in this class attempt to fully parse the XML.
The caller is responsible for closing
InputStream
and Reader
arguments.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Deprecated.Input location builder interface, to be implemented to choose how to store data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlNodeImpl
build
(InputStream is, String encoding) Deprecated.static XmlNodeImpl
build
(InputStream is, String encoding, boolean trim) Deprecated.static XmlNodeImpl
Deprecated.static XmlNodeImpl
Deprecated.static XmlNodeImpl
build
(Reader reader, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) Deprecated.static XmlNodeImpl
build
(Reader reader, XmlNodeBuilder.InputLocationBuilder locationBuilder) Deprecated.static XmlNodeImpl
build
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) Deprecated.static XmlNodeImpl
build
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim) Deprecated.static XmlNodeImpl
build
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) Deprecated.
-
Constructor Details
-
XmlNodeBuilder
public XmlNodeBuilder()Deprecated.
-
-
Method Details
-
build
public static XmlNodeImpl build(Reader reader) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
build
public static XmlNodeImpl build(Reader reader, XmlNodeBuilder.InputLocationBuilder locationBuilder) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Parameters:
reader
- the readerlocationBuilder
- the builder- Returns:
- DOM
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XML well-formedness errorIOException
- I/O error reading file or stream- Since:
- 3.2.0
-
build
public static XmlNodeImpl build(InputStream is, String encoding) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
build
public static XmlNodeImpl build(InputStream is, String encoding, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
build
public static XmlNodeImpl build(Reader reader, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
build
public static XmlNodeImpl build(Reader reader, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Parameters:
reader
- the readertrim
- to trimlocationBuilder
- the builder- Returns:
- DOM
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XML well-formedness errorIOException
- I/O error reading file or stream- Since:
- 3.2.0
-
build
public static XmlNodeImpl build(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
build
public static XmlNodeImpl build(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
build
public static XmlNodeImpl build(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Deprecated.- Parameters:
parser
- the parsertrim
- do trimlocationBuilder
- builder- Returns:
- DOM
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XML well-formedness errorIOException
- I/O error reading file or stream- Since:
- 3.2.0
-