public class RemoteResourcesBundleXpp3Reader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
RemoteResourcesBundleXpp3Reader.ContentTransformer |
Modifier and Type | Field and Description |
---|---|
RemoteResourcesBundleXpp3Reader.ContentTransformer |
contentTransformer
Field contentTransformer.
|
Constructor and Description |
---|
RemoteResourcesBundleXpp3Reader() |
RemoteResourcesBundleXpp3Reader(RemoteResourcesBundleXpp3Reader.ContentTransformer contentTransformer) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
RemoteResourcesBundle |
read(InputStream in)
Method read.
|
RemoteResourcesBundle |
read(InputStream in,
boolean strict)
Method read.
|
RemoteResourcesBundle |
read(Reader reader) |
RemoteResourcesBundle |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public final RemoteResourcesBundleXpp3Reader.ContentTransformer contentTransformer
public RemoteResourcesBundleXpp3Reader()
public RemoteResourcesBundleXpp3Reader(RemoteResourcesBundleXpp3Reader.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public RemoteResourcesBundle read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- a reader object.strict
- a strict object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.ReaderFactory.newXmlReader(java.io.InputStream)
public RemoteResourcesBundle read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- a reader object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.ReaderFactory.newXmlReader(java.io.InputStream)
public RemoteResourcesBundle read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- a in object.strict
- a strict object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.public RemoteResourcesBundle read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- a in object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- a addDefaultEntities object.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.