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