Class Xpp3DomBuilder

java.lang.Object
org.apache.maven.internal.xml.Xpp3DomBuilder

public class Xpp3DomBuilder extends Object
  • Constructor Details

    • Xpp3DomBuilder

      public Xpp3DomBuilder()
  • Method Details

    • build

      public static Xpp3Dom build(Reader reader) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • build

      public static Xpp3Dom build(Reader reader, Xpp3DomBuilder.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
    • build

      public static Xpp3Dom build(InputStream is, String encoding) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • build

      public static Xpp3Dom 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
    • build

      public static Xpp3Dom build(Reader reader, boolean trim) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      IOException
    • build

      public static Xpp3Dom build(Reader reader, boolean trim, Xpp3DomBuilder.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
    • build

      public static Xpp3Dom 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
    • build

      public static Xpp3Dom 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
    • build

      public static Xpp3Dom build(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean trim, Xpp3DomBuilder.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