Class SettingsXpp3Reader

java.lang.Object
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader

@Deprecated public class SettingsXpp3Reader extends Object
Deprecated.
Maven 3 compatibility - please use org.apache.maven.api.services.xml.SettingsXmlFactory from maven-api-core or SettingsStaxReader
  • Constructor Details

  • Method Details

    • getAddDefaultEntities

      public boolean getAddDefaultEntities()
      Deprecated.
      Returns the state of the "add default entities" flag.
      Returns:
      boolean
    • setAddDefaultEntities

      public void setAddDefaultEntities(boolean addDefaultEntities)
      Deprecated.
      Sets the state of the "add default entities" flag.
      Parameters:
      addDefaultEntities - a addDefaultEntities object.
    • read

      public Settings read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Deprecated.
      Parameters:
      reader - a reader object.
      strict - a strict object.
      Returns:
      Settings
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.
    • read

      public Settings read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Deprecated.
      Parameters:
      reader - a reader object.
      Returns:
      Model
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.
    • read

      public Settings read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Deprecated.
      Method read.
      Parameters:
      in - a in object.
      strict - a strict object.
      Returns:
      Settings
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.
    • read

      public Settings read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Deprecated.
      Method read.
      Parameters:
      in - a in object.
      Returns:
      Settings
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.
    • read

      public Settings read(XMLStreamReader parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Deprecated.
      Method read.
      Parameters:
      parser - a parser object.
      strict - a strict object.
      Returns:
      Settings
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.