Class MetadataXpp3Reader
java.lang.Object
org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader
Deprecated.
Provide public methods from
MetadataStaxReader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Deprecated. -
Constructor Summary
ConstructorDescriptionDeprecated.Default constructorMetadataXpp3Reader
(MetadataXpp3Reader.ContentTransformer contentTransformer) Deprecated.Constructor with ContentTransformer -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Returns the state of the "add default entities" flag.read
(InputStream in) Deprecated.Method read.read
(InputStream in, boolean strict) Deprecated.Method read.Deprecated.Method read.Deprecated.Method read.read
(XMLStreamReader parser, boolean strict) Deprecated.Method read.void
setAddDefaultEntities
(boolean addDefaultEntities) Deprecated.Sets the state of the "add default entities" flag.
-
Constructor Details
-
MetadataXpp3Reader
public MetadataXpp3Reader()Deprecated.Default constructor -
MetadataXpp3Reader
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.
-
MetadataStaxReader