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