Class ArchetypeCatalogXpp3Reader
- java.lang.Object
-
- org.apache.maven.archetype.catalog.io.xpp3.ArchetypeCatalogXpp3Reader
-
public class ArchetypeCatalogXpp3Reader extends java.lang.ObjectClass ArchetypeCatalogXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceArchetypeCatalogXpp3Reader.ContentTransformer
-
Field Summary
Fields Modifier and Type Field Description ArchetypeCatalogXpp3Reader.ContentTransformercontentTransformerField contentTransformer.
-
Constructor Summary
Constructors Constructor Description ArchetypeCatalogXpp3Reader()ArchetypeCatalogXpp3Reader(ArchetypeCatalogXpp3Reader.ContentTransformer contentTransformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAddDefaultEntities()Returns the state of the "add default entities" flag.ArchetypeCatalogread(java.io.InputStream in)Method read.ArchetypeCatalogread(java.io.InputStream in, boolean strict)Method read.ArchetypeCatalogread(java.io.Reader reader)ArchetypeCatalogread(java.io.Reader reader, boolean strict)voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Field Detail
-
contentTransformer
public final ArchetypeCatalogXpp3Reader.ContentTransformer contentTransformer
Field contentTransformer.
-
-
Constructor Detail
-
ArchetypeCatalogXpp3Reader
public ArchetypeCatalogXpp3Reader()
-
ArchetypeCatalogXpp3Reader
public ArchetypeCatalogXpp3Reader(ArchetypeCatalogXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Detail
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public ArchetypeCatalog read(java.io.Reader reader, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-strict-- Returns:
- ArchetypeCatalog
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public ArchetypeCatalog read(java.io.Reader reader) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-- Returns:
- ArchetypeCatalog
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public ArchetypeCatalog read(java.io.InputStream in, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-strict-- Returns:
- ArchetypeCatalog
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public ArchetypeCatalog read(java.io.InputStream in) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-- Returns:
- ArchetypeCatalog
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities-
-
-