public class MockConfigXpp3Reader extends Object
| Constructor and Description |
|---|
MockConfigXpp3Reader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
MockConfig |
read(InputStream in)
Method read.
|
MockConfig |
read(InputStream in,
boolean strict)
Method read.
|
MockConfig |
read(Reader reader) |
MockConfig |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public boolean getAddDefaultEntities()
public MockConfig 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 MockConfig 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 MockConfig read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in - strict - IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic MockConfig 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 © 2012 JBoss by Red Hat. All Rights Reserved.