public class PluginMetadataXpp3Reader extends Object
Constructor and Description |
---|
PluginMetadataXpp3Reader() |
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) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public PluginMetadataXpp3Reader()
public boolean getAddDefaultEntities()
public PluginMetadata 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 PluginMetadata 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 PluginMetadata 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 PluginMetadata 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 © 2004–2015 The Apache Software Foundation. All rights reserved.