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, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public ProfilesRoot read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public ProfilesRoot read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public ProfilesRoot read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.