Package org.apache.maven.internal.xml
Class XmlNodeBuilder
java.lang.Object
org.apache.maven.internal.xml.XmlNodeBuilder
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceInput location builder interface, to be implemented to choose how to store data.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic XmlNodeImplbuild(InputStream is, String encoding) static XmlNodeImplbuild(InputStream is, String encoding, boolean trim) static XmlNodeImplstatic XmlNodeImplstatic XmlNodeImplbuild(Reader reader, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) static XmlNodeImplbuild(Reader reader, XmlNodeBuilder.InputLocationBuilder locationBuilder) static XmlNodeImplbuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) static XmlNodeImplbuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim) static XmlNodeImplbuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) 
- 
Constructor Details- 
XmlNodeBuilderpublic XmlNodeBuilder()
 
- 
- 
Method Details- 
buildpublic static XmlNodeImpl build(Reader reader) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- IOException
 
- 
buildpublic static XmlNodeImpl build(Reader reader, XmlNodeBuilder.InputLocationBuilder locationBuilder) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Parameters:
- reader- the reader
- locationBuilder- the builder
- Returns:
- DOM
- Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- xml exception
- IOException- io
- Since:
- 3.2.0
 
- 
buildpublic static XmlNodeImpl build(InputStream is, String encoding) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- IOException
 
- 
buildpublic static XmlNodeImpl build(InputStream is, String encoding, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- IOException
 
- 
buildpublic static XmlNodeImpl build(Reader reader, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- IOException
 
- 
buildpublic static XmlNodeImpl build(Reader reader, boolean trim, XmlNodeBuilder.InputLocationBuilder locationBuilder) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Parameters:
- reader- the reader
- trim- to trim
- locationBuilder- the builder
- Returns:
- DOM
- Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- xml exception
- IOException- io
- Since:
- 3.2.0
 
- 
buildpublic static XmlNodeImpl build(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- IOException
 
- 
buildpublic static XmlNodeImpl build(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException - Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- IOException
 
- 
buildpublic 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 - Parameters:
- locationBuilder- builder
- parser- the parser
- trim- do trim
- Returns:
- DOM
- Throws:
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- xml exception
- IOException- io
- Since:
- 3.2.0
 
 
-