public class ComponentXpp3Reader extends Object
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
ComponentXpp3Reader.ContentTransformer  | 
| Modifier and Type | Field and Description | 
|---|---|
ComponentXpp3Reader.ContentTransformer | 
contentTransformer
Field contentTransformer. 
 | 
| Constructor and Description | 
|---|
ComponentXpp3Reader()  | 
ComponentXpp3Reader(ComponentXpp3Reader.ContentTransformer contentTransformer)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
getAddDefaultEntities()
Returns the state of the "add default entities" flag. 
 | 
Component | 
read(InputStream in)
Method read. 
 | 
Component | 
read(InputStream in,
    boolean strict)
Method read. 
 | 
Component | 
read(Reader reader)  | 
Component | 
read(Reader reader,
    boolean strict)  | 
void | 
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag. 
 | 
public final ComponentXpp3Reader.ContentTransformer contentTransformer
public ComponentXpp3Reader()
public ComponentXpp3Reader(ComponentXpp3Reader.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public Component read(Reader reader, boolean strict) throws IOException, XmlPullParserException
reader - strict - IOExceptionXmlPullParserExceptionReaderFactory.newXmlReader(java.io.InputStream)public Component read(Reader reader) throws IOException, XmlPullParserException
reader - IOExceptionXmlPullParserExceptionReaderFactory.newXmlReader(java.io.InputStream)public Component read(InputStream in, boolean strict) throws IOException, XmlPullParserException
in - strict - IOExceptionXmlPullParserExceptionpublic Component read(InputStream in) throws IOException, XmlPullParserException
in - IOExceptionXmlPullParserExceptionpublic void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities - Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.