Class PolyglotMavenXpp3Reader
- java.lang.Object
-
- org.sonatype.maven.polyglot.xml.xpp3.PolyglotMavenXpp3Reader
-
public class PolyglotMavenXpp3Reader extends Object
Class MavenXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description PolyglotMavenXpp3Reader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAddDefaultEntities()Returns the state of the "add default entities" flag.org.apache.maven.model.Modelread(InputStream in)Method read.org.apache.maven.model.Modelread(InputStream in, boolean strict)Method read.org.apache.maven.model.Modelread(Reader reader)org.apache.maven.model.Modelread(Reader reader, boolean strict)voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Method Detail
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public org.apache.maven.model.Model read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-strict-- Returns:
- Model
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public org.apache.maven.model.Model read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-- Returns:
- Model
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public org.apache.maven.model.Model read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-strict-- Returns:
- Model
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public org.apache.maven.model.Model read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-- Returns:
- Model
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities-
-
-