Class PluginMetadataXpp3Reader
java.lang.Object
org.apache.maven.tools.plugin.extractor.model.io.xpp3.PluginMetadataXpp3Reader
Class PluginMetadataXpp3Reader.
- Version:
- $Revision$ $Date$
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionField contentTransformer. -
Constructor Summary
ConstructorDescriptionPluginMetadataXpp3Reader(PluginMetadataXpp3Reader.ContentTransformer contentTransformer)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the state of the "add default entities" flag.read(InputStream in)
Method read.read(InputStream in, boolean strict)
Method read.void
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
-
Field Details
-
contentTransformer
Field contentTransformer.
-
-
Constructor Details
-
PluginMetadataXpp3Reader
public PluginMetadataXpp3Reader() -
PluginMetadataXpp3Reader
-
-
Method Details
-
getAddDefaultEntities
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public PluginMetadata read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException- Parameters:
reader
-strict
-- Returns:
- PluginMetadata
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public PluginMetadata read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException- Parameters:
reader
-- Returns:
- PluginMetadata
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public PluginMetadata read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionMethod read.- Parameters:
in
-strict
-- Returns:
- PluginMetadata
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public PluginMetadata read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionMethod read.- Parameters:
in
-- Returns:
- PluginMetadata
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities
-
-