public class BobberArchetypeXpp3Reader extends Object
| Constructor and Description |
|---|
BobberArchetypeXpp3Reader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
boolean |
getBooleanValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getBooleanValue.
|
boolean |
getBooleanValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
String defaultValue)
Method getBooleanValue.
|
char |
getCharacterValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getCharacterValue.
|
Date |
getDateValue(String s,
String attribute,
String dateFormat,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getDateValue.
|
Date |
getDateValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getDateValue.
|
double |
getDoubleValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getDoubleValue.
|
float |
getFloatValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getFloatValue.
|
int |
getIntegerValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getIntegerValue.
|
long |
getLongValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getLongValue.
|
String |
getRequiredAttributeValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getRequiredAttributeValue.
|
short |
getShortValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getShortValue.
|
String |
getTrimmedValue(String s)
Method getTrimmedValue.
|
BobberArchetype |
read(InputStream in)
Method read.
|
BobberArchetype |
read(InputStream in,
boolean strict)
Method read.
|
BobberArchetype |
read(Reader reader) |
BobberArchetype |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public boolean getAddDefaultEntities()
public boolean getBooleanValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic boolean getBooleanValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String defaultValue) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - defaultValue - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic char getCharacterValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic Date getDateValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic Date getDateValue(String s, String attribute, String dateFormat, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - parser - dateFormat - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic double getDoubleValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - strict - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic float getFloatValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - strict - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic int getIntegerValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - strict - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic long getLongValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - strict - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic String getRequiredAttributeValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - strict - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic short getShortValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s - strict - parser - attribute - org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic String getTrimmedValue(String s)
s - public BobberArchetype 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 BobberArchetype 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 BobberArchetype read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in - strict - IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic BobberArchetype 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 © 2003–2016 MuleSoft, Inc.. All rights reserved.