Class MetadataStaxReader
java.lang.Object
org.apache.maven.artifact.repository.metadata.io.MetadataStaxReader
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMetadataStaxReader
(MetadataStaxReader.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
-
MetadataStaxReader
public MetadataStaxReader() -
MetadataStaxReader
-
-
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:
- Metadata
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
- Throws:
XMLStreamException
-
read
Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- Metadata
- Throws:
XMLStreamException
- XMLStreamException if any.
-
read
Method read.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Metadata
- Throws:
XMLStreamException
- XMLStreamException if any.
-