Class PluginDescriptorStaxReader
java.lang.Object
org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxReader
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPluginDescriptorStaxReader
(PluginDescriptorStaxReader.ContentTransformer contentTransformer) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the state of the "add default entities" flag.read
(InputStream in) read
(InputStream in, boolean strict) Method read.read
(XMLStreamReader parser, boolean strict) Method read.void
setAddDefaultEntities
(boolean addDefaultEntities) Sets the state of the "add default entities" flag.
-
Constructor Details
-
PluginDescriptorStaxReader
public PluginDescriptorStaxReader() -
PluginDescriptorStaxReader
-
-
Method Details
-
getAddDefaultEntities
public boolean getAddDefaultEntities()Returns the state of the "add default entities" flag.- Returns:
- boolean
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities
- a addDefaultEntities object.
-
read
- Throws:
XMLStreamException
-
read
- Parameters:
reader
- a reader object.strict
- a strict object.- Returns:
- PluginDescriptor
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
- Throws:
XMLStreamException
-
read
Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- PluginDescriptor
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
Method read.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- PluginDescriptor
- Throws:
XMLStreamException
- XMLStreamException if any.
-