@Generated public class MavenXpp3ReaderEx extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MavenXpp3ReaderEx.ContentTransformer |
Constructor and Description |
---|
MavenXpp3ReaderEx() |
MavenXpp3ReaderEx(MavenXpp3ReaderEx.ContentTransformer contentTransformer) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
Model |
read(InputStream in,
boolean strict,
InputSource source)
Method read.
|
Model |
read(Reader reader,
boolean strict,
InputSource source) |
Model |
read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict,
InputSource source)
Method read.
|
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public MavenXpp3ReaderEx()
public MavenXpp3ReaderEx(MavenXpp3ReaderEx.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- a addDefaultEntities object.public Model read(Reader reader, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- a reader object.strict
- a strict object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.ReaderFactory.newXmlReader(java.io.InputStream)
public Model read(InputStream in, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- a in object.strict
- a strict object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.public Model read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- a parser object.strict
- a strict object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.