Package org.apache.maven.model.v4
Class MavenStaxReader
java.lang.Object
org.apache.maven.model.v4.MavenStaxReader
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the state of the "add default entities" flag.boolean
Returns the state of the "add location information" flag.read
(InputStream in) read
(InputStream in, boolean strict, InputSource source) Method read.read
(Reader reader, boolean strict, InputSource source) read
(XMLStreamReader parser, boolean strict, InputSource source) Method read.void
setAddDefaultEntities
(boolean addDefaultEntities) Sets the state of the "add default entities" flag.void
setAddLocationInformation
(boolean addLocationInformation) Sets the state of the "add location information" flag.
-
Constructor Details
-
MavenStaxReader
public MavenStaxReader() -
MavenStaxReader
-
-
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.
-
getAddLocationInformation
public boolean getAddLocationInformation()Returns the state of the "add location information" flag.- Returns:
- boolean
-
setAddLocationInformation
public void setAddLocationInformation(boolean addLocationInformation) Sets the state of the "add location information" flag.- Parameters:
addLocationInformation
- a addLocationInformation object.
-
read
- Throws:
XMLStreamException
-
read
- Parameters:
reader
- a reader object.strict
- a strict object.- Returns:
- Model
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
- Throws:
XMLStreamException
-
read
Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- Model
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
public Model read(XMLStreamReader parser, boolean strict, InputSource source) throws XMLStreamException Method read.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Model
- Throws:
XMLStreamException
- XMLStreamException if any.
-