public class PluginMetadataXpp3Reader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PluginMetadataXpp3Reader.ContentTransformer |
Modifier and Type | Field and Description |
---|---|
PluginMetadataXpp3Reader.ContentTransformer |
contentTransformer
Field contentTransformer.
|
Constructor and Description |
---|
PluginMetadataXpp3Reader() |
PluginMetadataXpp3Reader(PluginMetadataXpp3Reader.ContentTransformer contentTransformer) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
PluginMetadata |
read(InputStream in)
Method read.
|
PluginMetadata |
read(InputStream in,
boolean strict)
Method read.
|
PluginMetadata |
read(Reader reader) |
PluginMetadata |
read(Reader reader,
boolean strict) |
PluginMetadata |
read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method read.
|
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public final PluginMetadataXpp3Reader.ContentTransformer contentTransformer
public PluginMetadataXpp3Reader()
public PluginMetadataXpp3Reader(PluginMetadataXpp3Reader.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public PluginMetadata read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- a parser object.strict
- a strict object.IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if
any.public PluginMetadata 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.XmlStreamReader
public PluginMetadata 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.XmlStreamReader
public PluginMetadata 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 PluginMetadata 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 © 2004–2024 The Apache Software Foundation. All rights reserved.