Class MavenStaxReader
java.lang.Object
org.apache.maven.model.v4.MavenStaxReader
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the state of the "add default entities" flag.booleanReturns the state of the "add location information" flag.Returns theXMLInputFactoryused by this reader.read(InputStream in) read(InputStream in, boolean strict, InputSource inputSrc) Method read.read(Reader reader, boolean strict, InputSource inputSrc) read(XMLStreamReader parser, boolean strict, InputSource inputSrc) Method read.voidsetAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.voidsetAddLocationInformation(boolean addLocationInformation) Sets the state of the "add location information" flag.
- 
Constructor Details- 
MavenStaxReaderpublic MavenStaxReader()
- 
MavenStaxReader
 
- 
- 
Method Details- 
getXMLInputFactoryReturns theXMLInputFactoryused by this reader.- Returns:
- the XMLInputFactoryused by this reader.
 
- 
getAddDefaultEntitiespublic boolean getAddDefaultEntities()Returns the state of the "add default entities" flag.- Returns:
- boolean
 
- 
setAddDefaultEntitiespublic void setAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.- Parameters:
- addDefaultEntities- a addDefaultEntities object.
 
- 
getAddLocationInformationpublic boolean getAddLocationInformation()Returns the state of the "add location information" flag.- Returns:
- boolean
 
- 
setAddLocationInformationpublic 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
 
- 
readMethod read.- Parameters:
- in- a in object.
- strict- a strict object.
- Returns:
- Model
- Throws:
- XMLStreamException- XMLStreamException if any.
 
- 
readpublic Model read(XMLStreamReader parser, boolean strict, InputSource inputSrc) throws XMLStreamException Method read.- Parameters:
- parser- a parser object.
- strict- a strict object.
- Returns:
- Model
- Throws:
- XMLStreamException- XMLStreamException if any.
 
 
-