Class LifecycleStaxReader
java.lang.Object
org.apache.maven.plugin.lifecycle.io.LifecycleStaxReader
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLifecycleStaxReader
(LifecycleStaxReader.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
-
LifecycleStaxReader
public LifecycleStaxReader() -
LifecycleStaxReader
-
-
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:
- LifecycleConfiguration
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
- Throws:
XMLStreamException
-
read
Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- LifecycleConfiguration
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
public 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.
-