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