public class SettingsXpp3Reader extends Object
Constructor and Description |
---|
SettingsXpp3Reader() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
Settings |
read(InputStream in)
Method read.
|
Settings |
read(InputStream in,
boolean strict)
Method read.
|
Settings |
read(Reader reader) |
Settings |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public SettingsXpp3Reader()
public boolean getAddDefaultEntities()
public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException
reader
- strict
- IOException
XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Settings read(Reader reader) throws IOException, XmlPullParserException
reader
- IOException
XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Settings read(InputStream in, boolean strict) throws IOException, XmlPullParserException
in
- strict
- IOException
XmlPullParserException
public Settings read(InputStream in) throws IOException, XmlPullParserException
in
- IOException
XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.