Class MetadataXpp3Reader

java.lang.Object
org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader

@Deprecated public class MetadataXpp3Reader extends Object
Deprecated.
Maven 3 compatability - please use MetadataStaxReader
Provide public methods from MetadataStaxReader
  • Constructor Details

    • MetadataXpp3Reader

      public MetadataXpp3Reader()
      Deprecated.
      Default constructor
    • MetadataXpp3Reader

      public MetadataXpp3Reader(MetadataXpp3Reader.ContentTransformer contentTransformer)
      Deprecated.
      Constructor with ContentTransformer
      Parameters:
      contentTransformer - a transformer
  • Method Details

    • getAddDefaultEntities

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

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

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

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

      public Metadata 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:
      Metadata
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.
    • read

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

      public Metadata 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:
      Metadata
      Throws:
      IOException - IOException if any.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException - XmlPullParserException if any.