org.apache.maven.model.io.xpp3
Class MavenXpp3Reader

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

public class MavenXpp3Reader
extends Object

Class MavenXpp3Reader.

Version:
$Revision$ $Date$

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

MavenXpp3Reader

public MavenXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
Model
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.