Class MetadataXpp3Reader
java.lang.Object
org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader
Class MetadataXpp3Reader.
- Version:
- $Revision$ $Date$
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionField contentTransformer.
- 
Constructor SummaryConstructorsConstructorDescriptionMetadataXpp3Reader(MetadataXpp3Reader.ContentTransformer contentTransformer) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the state of the "add default entities" flag.read(InputStream in) Method read.read(InputStream in, boolean strict) Method read.read(XmlPullParser parser, boolean strict) Method read.voidsetAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.
- 
Field Details- 
contentTransformerField contentTransformer.
 
- 
- 
Constructor Details- 
MetadataXpp3Readerpublic MetadataXpp3Reader()
- 
MetadataXpp3Reader
 
- 
- 
Method Details- 
getAddDefaultEntitiespublic boolean getAddDefaultEntities()Returns the state of the "add default entities" flag.- Returns:
- boolean
 
- 
readpublic Metadata read(XmlPullParser parser, boolean strict) throws IOException, XmlPullParserException Method read.- Parameters:
- parser- a parser object.
- strict- a strict object.
- Returns:
- Metadata
- Throws:
- IOException- IOException if any.
- XmlPullParserException- XmlPullParserException if any.
 
- 
read- Parameters:
- reader- a reader object.
- strict- a strict object.
- Returns:
- Metadata
- Throws:
- IOException- IOException if any.
- XmlPullParserException- XmlPullParserException if any.
- See Also:
 
- 
read- Parameters:
- reader- a reader object.
- Returns:
- Metadata
- Throws:
- IOException- IOException if any.
- XmlPullParserException- XmlPullParserException if any.
- See Also:
 
- 
readMethod read.- Parameters:
- in- a in object.
- strict- a strict object.
- Returns:
- Metadata
- Throws:
- IOException- IOException if any.
- XmlPullParserException- XmlPullParserException if any.
 
- 
readMethod read.- Parameters:
- in- a in object.
- Returns:
- Metadata
- Throws:
- IOException- IOException if any.
- XmlPullParserException- XmlPullParserException if any.
 
- 
setAddDefaultEntitiespublic void setAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.- Parameters:
- addDefaultEntities- a addDefaultEntities object.
 
 
-