public class ProfilesXpp3Reader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ProfilesXpp3Reader.ContentTransformer |
Modifier and Type | Field and Description |
---|---|
ProfilesXpp3Reader.ContentTransformer |
contentTransformer
Field contentTransformer.
|
Constructor and Description |
---|
ProfilesXpp3Reader() |
ProfilesXpp3Reader(ProfilesXpp3Reader.ContentTransformer contentTransformer) |
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 final ProfilesXpp3Reader.ContentTransformer contentTransformer
public ProfilesXpp3Reader()
public ProfilesXpp3Reader(ProfilesXpp3Reader.ContentTransformer contentTransformer)
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–2018 The Apache Software Foundation. All rights reserved.