Class PluginDescriptorStaxReader
java.lang.Object
org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxReader
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPluginDescriptorStaxReader(PluginDescriptorStaxReader.ContentTransformer contentTransformer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the state of the "add default entities" flag.Returns theXMLInputFactoryused by this reader.org.apache.maven.api.plugin.descriptor.PluginDescriptorread(InputStream in) org.apache.maven.api.plugin.descriptor.PluginDescriptorread(InputStream in, boolean strict) Method read.org.apache.maven.api.plugin.descriptor.PluginDescriptororg.apache.maven.api.plugin.descriptor.PluginDescriptororg.apache.maven.api.plugin.descriptor.PluginDescriptorread(XMLStreamReader parser, boolean strict) Method read.voidsetAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.
-
Constructor Details
-
PluginDescriptorStaxReader
public PluginDescriptorStaxReader() -
PluginDescriptorStaxReader
-
-
Method Details
-
getXMLInputFactory
Returns theXMLInputFactoryused by this reader.- Returns:
- the
XMLInputFactoryused by this reader.
-
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
public org.apache.maven.api.plugin.descriptor.PluginDescriptor read(Reader reader) throws XMLStreamException - Throws:
XMLStreamException
-
read
public org.apache.maven.api.plugin.descriptor.PluginDescriptor read(Reader reader, boolean strict) throws XMLStreamException - Parameters:
reader- a reader object.strict- a strict object.- Returns:
- PluginDescriptor
- Throws:
XMLStreamException- XMLStreamException if any.
-
read
public org.apache.maven.api.plugin.descriptor.PluginDescriptor read(InputStream in) throws XMLStreamException - Throws:
XMLStreamException
-
read
public org.apache.maven.api.plugin.descriptor.PluginDescriptor read(InputStream in, boolean strict) throws XMLStreamException Method read.- Parameters:
in- a in object.strict- a strict object.- Returns:
- PluginDescriptor
- Throws:
XMLStreamException- XMLStreamException if any.
-
read
public org.apache.maven.api.plugin.descriptor.PluginDescriptor read(XMLStreamReader parser, boolean strict) throws XMLStreamException Method read.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- PluginDescriptor
- Throws:
XMLStreamException- XMLStreamException if any.
-