public class MetadataXpp3Reader extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MetadataXpp3Reader.ContentTransformer |
Modifier and Type | Field and Description |
---|---|
MetadataXpp3Reader.ContentTransformer |
contentTransformer
Field contentTransformer.
|
Constructor and Description |
---|
MetadataXpp3Reader() |
MetadataXpp3Reader(MetadataXpp3Reader.ContentTransformer contentTransformer) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
Metadata |
read(InputStream in)
Method read.
|
Metadata |
read(InputStream in,
boolean strict)
Method read.
|
Metadata |
read(Reader reader) |
Metadata |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public final MetadataXpp3Reader.ContentTransformer contentTransformer
public MetadataXpp3Reader()
public MetadataXpp3Reader(MetadataXpp3Reader.ContentTransformer contentTransformer)
public boolean getAddDefaultEntities()
public Metadata read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Metadata read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Metadata read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public Metadata read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.