public class SettingsXpp3Reader extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | SettingsXpp3Reader.ContentTransformer | 
| Constructor and Description | 
|---|
| SettingsXpp3Reader() | 
| SettingsXpp3Reader(SettingsXpp3Reader.ContentTransformer contentTransformer) | 
| 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) | 
| Settings | read(XmlPullParser parser,
    boolean strict)Method read. | 
| void | setAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag. | 
public SettingsXpp3Reader()
public SettingsXpp3Reader(SettingsXpp3Reader.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException
reader - a reader object.strict - a strict object.IOException - IOException if any.XmlPullParserException - XmlPullParserException if
 any.ReaderFactory.newXmlReader(java.io.InputStream)public Settings read(Reader reader) throws IOException, XmlPullParserException
reader - a reader object.IOException - IOException if any.XmlPullParserException - XmlPullParserException if
 any.ReaderFactory.newXmlReader(java.io.InputStream)public Settings read(InputStream in, boolean strict) throws IOException, XmlPullParserException
in - a in object.strict - a strict object.IOException - IOException if any.XmlPullParserException - XmlPullParserException if
 any.public Settings read(InputStream in) throws IOException, XmlPullParserException
in - a in object.IOException - IOException if any.XmlPullParserException - XmlPullParserException if
 any.public Settings read(XmlPullParser parser, boolean strict) throws IOException, XmlPullParserException
parser - a parser object.strict - a strict object.IOException - IOException if any.XmlPullParserException - XmlPullParserException if
 any.public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities - a addDefaultEntities object.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.