org.apache.maven.archetype.model.io.xpp3
Class ArchetypeXpp3Reader

java.lang.Object
  extended by org.apache.maven.archetype.model.io.xpp3.ArchetypeXpp3Reader

public class ArchetypeXpp3Reader
extends Object

Class ArchetypeXpp3Reader.

Version:
$Revision$ $Date$

Constructor Summary
ArchetypeXpp3Reader()
           
 
Method Summary
 boolean getAddDefaultEntities()
          Returns the state of the "add default entities" flag.
 ArchetypeModel read(InputStream in)
          Method read.
 ArchetypeModel read(InputStream in, boolean strict)
          Method read.
 ArchetypeModel read(Reader reader)
           
 ArchetypeModel 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

ArchetypeXpp3Reader

public ArchetypeXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
ArchetypeModel
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.