Class MetadataXpp3Reader
java.lang.Object
org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader
Deprecated.
Provide public methods from 
MetadataStaxReader- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated.Default constructorMetadataXpp3Reader(MetadataXpp3Reader.ContentTransformer contentTransformer) Deprecated.Constructor with ContentTransformer
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.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.voidsetAddDefaultEntities(boolean addDefaultEntities) Deprecated.Sets the state of the "add default entities" flag.
- 
Constructor Details- 
MetadataXpp3Readerpublic MetadataXpp3Reader()Deprecated.Default constructor
- 
MetadataXpp3ReaderDeprecated.Constructor with ContentTransformer- Parameters:
- contentTransformer- a transformer
 
 
- 
- 
Method Details- 
getAddDefaultEntitiespublic boolean getAddDefaultEntities()Deprecated.Returns the state of the "add default entities" flag.- Returns:
- boolean a field value
 
- 
setAddDefaultEntitiespublic void setAddDefaultEntities(boolean addDefaultEntities) Deprecated.Sets the state of the "add default entities" flag.- Parameters:
- addDefaultEntities- a addDefaultEntities object.
 
- 
readpublic 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.
 
- 
readpublic 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.
 
- 
readpublic 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.
 
- 
readpublic 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.
 
- 
readpublic 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