Class LifecycleStaxReader
java.lang.Object
org.apache.maven.plugin.lifecycle.io.LifecycleStaxReader
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLifecycleStaxReader(LifecycleStaxReader.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.lifecycle.LifecycleConfigurationread(InputStream in) org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfigurationread(InputStream in, boolean strict) Method read.org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfigurationorg.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfigurationorg.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfigurationread(XMLStreamReader parser, boolean strict) Method read.voidsetAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.
-
Constructor Details
-
LifecycleStaxReader
public LifecycleStaxReader() -
LifecycleStaxReader
-
-
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.lifecycle.LifecycleConfiguration read(Reader reader) throws XMLStreamException - Throws:
XMLStreamException
-
read
public org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration read(Reader reader, boolean strict) throws XMLStreamException - Parameters:
reader- a reader object.strict- a strict object.- Returns:
- LifecycleConfiguration
- Throws:
XMLStreamException- XMLStreamException if any.
-
read
public org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration read(InputStream in) throws XMLStreamException - Throws:
XMLStreamException
-
read
public org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration read(InputStream in, boolean strict) throws XMLStreamException Method read.- Parameters:
in- a in object.strict- a strict object.- Returns:
- LifecycleConfiguration
- Throws:
XMLStreamException- XMLStreamException if any.
-
read
public org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration read(XMLStreamReader parser, boolean strict) throws XMLStreamException Method read.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- LifecycleConfiguration
- Throws:
XMLStreamException- XMLStreamException if any.
-