public class MavenConsumerXpp3Reader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MavenConsumerXpp3Reader.ContentTransformer |
Modifier and Type | Field and Description |
---|---|
MavenConsumerXpp3Reader.ContentTransformer |
contentTransformer
Field contentTransformer.
|
Constructor and Description |
---|
MavenConsumerXpp3Reader() |
MavenConsumerXpp3Reader(MavenConsumerXpp3Reader.ContentTransformer contentTransformer) |
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 final MavenConsumerXpp3Reader.ContentTransformer contentTransformer
public MavenConsumerXpp3Reader()
public MavenConsumerXpp3Reader(MavenConsumerXpp3Reader.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public Model read(Reader reader, boolean strict) throws IOException, XmlPullParserException
reader
- strict
- IOException
XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Model read(Reader reader) throws IOException, XmlPullParserException
reader
- IOException
XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Model read(InputStream in, boolean strict) throws IOException, XmlPullParserException
in
- strict
- IOException
XmlPullParserException
public Model read(InputStream in) throws IOException, XmlPullParserException
in
- IOException
XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.