Class ArchetypeDescriptorXpp3Reader
- java.lang.Object
-
- org.apache.maven.archetype.metadata.io.xpp3.ArchetypeDescriptorXpp3Reader
-
public class ArchetypeDescriptorXpp3Reader extends java.lang.ObjectClass ArchetypeDescriptorXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceArchetypeDescriptorXpp3Reader.ContentTransformer
-
Field Summary
Fields Modifier and Type Field Description ArchetypeDescriptorXpp3Reader.ContentTransformercontentTransformerField contentTransformer.
-
Constructor Summary
Constructors Constructor Description ArchetypeDescriptorXpp3Reader()ArchetypeDescriptorXpp3Reader(ArchetypeDescriptorXpp3Reader.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.ArchetypeDescriptorread(java.io.InputStream in)Method read.ArchetypeDescriptorread(java.io.InputStream in, boolean strict)Method read.ArchetypeDescriptorread(java.io.Reader reader)ArchetypeDescriptorread(java.io.Reader reader, boolean strict)voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Field Detail
-
contentTransformer
public final ArchetypeDescriptorXpp3Reader.ContentTransformer contentTransformer
Field contentTransformer.
-
-
Constructor Detail
-
ArchetypeDescriptorXpp3Reader
public ArchetypeDescriptorXpp3Reader()
-
ArchetypeDescriptorXpp3Reader
public ArchetypeDescriptorXpp3Reader(ArchetypeDescriptorXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Detail
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public ArchetypeDescriptor read(java.io.Reader reader, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-strict-- Returns:
- ArchetypeDescriptor
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public ArchetypeDescriptor read(java.io.Reader reader) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-- Returns:
- ArchetypeDescriptor
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public ArchetypeDescriptor read(java.io.InputStream in, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-strict-- Returns:
- ArchetypeDescriptor
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public ArchetypeDescriptor read(java.io.InputStream in) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-- Returns:
- ArchetypeDescriptor
- 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-
-
-