public class VssXpp3Reader extends Object
Constructor and Description |
---|
VssXpp3Reader() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
boolean |
getBooleanValue(String s,
String attribute,
XmlPullParser parser)
Method getBooleanValue.
|
boolean |
getBooleanValue(String s,
String attribute,
XmlPullParser parser,
String defaultValue)
Method getBooleanValue.
|
char |
getCharacterValue(String s,
String attribute,
XmlPullParser parser)
Method getCharacterValue.
|
Date |
getDateValue(String s,
String attribute,
String dateFormat,
XmlPullParser parser)
Method getDateValue.
|
Date |
getDateValue(String s,
String attribute,
XmlPullParser parser)
Method getDateValue.
|
double |
getDoubleValue(String s,
String attribute,
XmlPullParser parser,
boolean strict)
Method getDoubleValue.
|
float |
getFloatValue(String s,
String attribute,
XmlPullParser parser,
boolean strict)
Method getFloatValue.
|
int |
getIntegerValue(String s,
String attribute,
XmlPullParser parser,
boolean strict)
Method getIntegerValue.
|
long |
getLongValue(String s,
String attribute,
XmlPullParser parser,
boolean strict)
Method getLongValue.
|
String |
getRequiredAttributeValue(String s,
String attribute,
XmlPullParser parser,
boolean strict)
Method getRequiredAttributeValue.
|
short |
getShortValue(String s,
String attribute,
XmlPullParser parser,
boolean strict)
Method getShortValue.
|
String |
getTrimmedValue(String s)
Method getTrimmedValue.
|
Settings |
read(InputStream in)
Method read.
|
Settings |
read(InputStream in,
boolean strict)
Method read.
|
Settings |
read(Reader reader) |
Settings |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public VssXpp3Reader()
public boolean getAddDefaultEntities()
public boolean getBooleanValue(String s, String attribute, XmlPullParser parser) throws XmlPullParserException
s
- parser
- attribute
- XmlPullParserException
public boolean getBooleanValue(String s, String attribute, XmlPullParser parser, String defaultValue) throws XmlPullParserException
s
- defaultValue
- parser
- attribute
- XmlPullParserException
public char getCharacterValue(String s, String attribute, XmlPullParser parser) throws XmlPullParserException
s
- parser
- attribute
- XmlPullParserException
public Date getDateValue(String s, String attribute, XmlPullParser parser) throws XmlPullParserException
s
- parser
- attribute
- XmlPullParserException
public Date getDateValue(String s, String attribute, String dateFormat, XmlPullParser parser) throws XmlPullParserException
s
- parser
- dateFormat
- attribute
- XmlPullParserException
public double getDoubleValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s
- strict
- parser
- attribute
- XmlPullParserException
public float getFloatValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s
- strict
- parser
- attribute
- XmlPullParserException
public int getIntegerValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s
- strict
- parser
- attribute
- XmlPullParserException
public long getLongValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s
- strict
- parser
- attribute
- XmlPullParserException
public String getRequiredAttributeValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s
- strict
- parser
- attribute
- XmlPullParserException
public short getShortValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s
- strict
- parser
- attribute
- XmlPullParserException
public String getTrimmedValue(String s)
s
- public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException
reader
- strict
- IOException
XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Settings read(Reader reader) throws IOException, XmlPullParserException
reader
- IOException
XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public Settings read(InputStream in, boolean strict) throws IOException, XmlPullParserException
in
- strict
- IOException
XmlPullParserException
public Settings read(InputStream in) throws IOException, XmlPullParserException
in
- IOException
XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.