Package org.apache.maven.settings.v4
Class SettingsStaxReader
java.lang.Object
org.apache.maven.settings.v4.SettingsStaxReader
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSettingsStaxReader
(SettingsStaxReader.ContentTransformer contentTransformer) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the state of the "add default entities" flag.boolean
Returns the state of the "add location information" flag.Returns theXMLInputFactory
used by this reader.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
-
SettingsStaxReader
public SettingsStaxReader() -
SettingsStaxReader
-
-
Method Details
-
getXMLInputFactory
Returns theXMLInputFactory
used by this reader.- Returns:
- the
XMLInputFactory
used 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.
-
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:
- Settings
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
- Throws:
XMLStreamException
-
read
Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- Settings
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
public Settings read(XMLStreamReader parser, boolean strict, InputSource source) throws XMLStreamException Method read.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Settings
- Throws:
XMLStreamException
- XMLStreamException if any.
-