org.apache.maven.archetype.metadata.io.xpp3
Class ArchetypeDescriptorXpp3Reader

java.lang.Object
  extended by org.apache.maven.archetype.metadata.io.xpp3.ArchetypeDescriptorXpp3Reader

public class ArchetypeDescriptorXpp3Reader
extends Object

Class ArchetypeDescriptorXpp3Reader.

Version:
$Revision$ $Date$

Constructor Summary
ArchetypeDescriptorXpp3Reader()
           
 
Method Summary
 boolean getAddDefaultEntities()
          Returns the state of the "add default entities" flag.
 ArchetypeDescriptor read(InputStream in)
          Method read.
 ArchetypeDescriptor read(InputStream in, boolean strict)
          Method read.
 ArchetypeDescriptor read(Reader reader)
           
 ArchetypeDescriptor read(Reader reader, boolean strict)
           
 void setAddDefaultEntities(boolean addDefaultEntities)
          Sets the state of the "add default entities" flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchetypeDescriptorXpp3Reader

public ArchetypeDescriptorXpp3Reader()
Method Detail

getAddDefaultEntities

public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.

Returns:
boolean

read

public ArchetypeDescriptor read(Reader reader,
                                boolean strict)
                         throws IOException,
                                XmlPullParserException
Parameters:
reader -
strict -
Returns:
ArchetypeDescriptor
Throws:
IOException
XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public ArchetypeDescriptor read(Reader reader)
                         throws IOException,
                                XmlPullParserException
Parameters:
reader -
Returns:
ArchetypeDescriptor
Throws:
IOException
XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public ArchetypeDescriptor read(InputStream in,
                                boolean strict)
                         throws IOException,
                                XmlPullParserException
Method read.

Parameters:
in -
strict -
Returns:
ArchetypeDescriptor
Throws:
IOException
XmlPullParserException

read

public ArchetypeDescriptor read(InputStream in)
                         throws IOException,
                                XmlPullParserException
Method read.

Parameters:
in -
Returns:
ArchetypeDescriptor
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.

Parameters:
addDefaultEntities -


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.