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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInput location builder interface, to be implemented to choose how to store data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlNodeImplbuild(InputStream stream, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) static XmlNodeImplbuild(Reader reader, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) static XmlNodeImplbuild(XMLStreamReader parser) static XmlNodeImplbuild(XMLStreamReader parser, boolean trim, XmlNodeStaxBuilder.InputLocationBuilderStax locationBuilder) static XmlNodeImplbuild(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
-