Package org.apache.maven.settings.v4
Class SettingsStaxReader
java.lang.Object
org.apache.maven.settings.v4.SettingsStaxReader
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionSettingsStaxReader(SettingsStaxReader.ContentTransformer contentTransformer) 
- 
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.org.apache.maven.api.settings.Settingsread(InputStream in) org.apache.maven.api.settings.Settingsread(InputStream in, boolean strict, org.apache.maven.api.settings.InputSource inputSrc) Method read.org.apache.maven.api.settings.Settingsorg.apache.maven.api.settings.Settingsorg.apache.maven.api.settings.Settingsread(XMLStreamReader parser, boolean strict, org.apache.maven.api.settings.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- 
SettingsStaxReaderpublic SettingsStaxReader()
- 
SettingsStaxReader
 
- 
- 
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
 
- 
readpublic org.apache.maven.api.settings.Settings read(Reader reader, boolean strict, org.apache.maven.api.settings.InputSource inputSrc) throws XMLStreamException - Parameters:
- reader- a reader object.
- strict- a strict object.
- Returns:
- Settings
- Throws:
- XMLStreamException- XMLStreamException if any.
 
- 
read- Throws:
- XMLStreamException
 
- 
readpublic org.apache.maven.api.settings.Settings read(InputStream in, boolean strict, org.apache.maven.api.settings.InputSource inputSrc) throws XMLStreamException Method read.- Parameters:
- in- a in object.
- strict- a strict object.
- Returns:
- Settings
- Throws:
- XMLStreamException- XMLStreamException if any.
 
- 
readpublic org.apache.maven.api.settings.Settings read(XMLStreamReader parser, boolean strict, org.apache.maven.api.settings.InputSource inputSrc) throws XMLStreamException Method read.- Parameters:
- parser- a parser object.
- strict- a strict object.
- Returns:
- Settings
- Throws:
- XMLStreamException- XMLStreamException if any.
 
 
-