Package org.apache.maven.internal.xml
Class XmlNodeStaxBuilder
java.lang.Object
org.apache.maven.internal.xml.XmlNodeStaxBuilder
All methods in this class attempt to fully parse the XML.
The caller is responsible for closing
InputStream
and Reader
arguments.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Input location builder interface, to be implemented to choose how to store data. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic XmlNodeImpl
build
(InputStream stream, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) static XmlNodeImpl
build
(Reader reader, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) static XmlNodeImpl
build
(XMLStreamReader parser) static XmlNodeImpl
build
(XMLStreamReader parser, boolean trim, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) static XmlNodeImpl
build
(XMLStreamReader parser, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder)
-
Constructor Details
-
XmlNodeStaxBuilder
public XmlNodeStaxBuilder()
-
-
Method Details
-
build
public static XmlNodeImpl build(InputStream stream, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) throws XMLStreamException - Throws:
XMLStreamException
-
build
public static XmlNodeImpl build(Reader reader, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) throws XMLStreamException - Throws:
XMLStreamException
-
build
- Throws:
XMLStreamException
-
build
public static XmlNodeImpl build(XMLStreamReader parser, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) throws XMLStreamException - Throws:
XMLStreamException
-
build
public static XmlNodeImpl build(XMLStreamReader parser, boolean trim, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) throws XMLStreamException - Throws:
XMLStreamException
-