public class MavenXpp3Reader extends Object
Constructor and Description |
---|
MavenXpp3Reader() |
Modifier and Type | Method and Description |
---|---|
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.
|
public MavenXpp3Reader()
public boolean getAddDefaultEntities()
public Model read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Model read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Model read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public Model read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.