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 boolean
getAddDefaultEntities()
Returns the state of the "add default entities" flag.org.apache.maven.model.Model
read(InputStream in)
Method read.org.apache.maven.model.Model
read(InputStream in, boolean strict)
Method read.org.apache.maven.model.Model
read(Reader reader)
org.apache.maven.model.Model
read(Reader reader, boolean strict)
void
setAddDefaultEntities(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:
IOException
org.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:
IOException
org.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:
IOException
org.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:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities
-
-
-