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 - XmlPullParserExceptionpublic boolean getBooleanValue(String s, String attribute, XmlPullParser parser, String defaultValue) throws XmlPullParserException
s - defaultValue - parser - attribute - XmlPullParserExceptionpublic char getCharacterValue(String s, String attribute, XmlPullParser parser) throws XmlPullParserException
s - parser - attribute - XmlPullParserExceptionpublic Date getDateValue(String s, String attribute, XmlPullParser parser) throws XmlPullParserException
s - parser - attribute - XmlPullParserExceptionpublic Date getDateValue(String s, String attribute, String dateFormat, XmlPullParser parser) throws XmlPullParserException
s - parser - dateFormat - attribute - XmlPullParserExceptionpublic double getDoubleValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s - strict - parser - attribute - XmlPullParserExceptionpublic float getFloatValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s - strict - parser - attribute - XmlPullParserExceptionpublic int getIntegerValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s - strict - parser - attribute - XmlPullParserExceptionpublic long getLongValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s - strict - parser - attribute - XmlPullParserExceptionpublic String getRequiredAttributeValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s - strict - parser - attribute - XmlPullParserExceptionpublic short getShortValue(String s, String attribute, XmlPullParser parser, boolean strict) throws XmlPullParserException
s - strict - parser - attribute - XmlPullParserExceptionpublic String getTrimmedValue(String s)
s - public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException
reader - strict - IOExceptionXmlPullParserExceptionReaderFactory.newXmlReader(java.io.InputStream)public Settings read(Reader reader) throws IOException, XmlPullParserException
reader - IOExceptionXmlPullParserExceptionReaderFactory.newXmlReader(java.io.InputStream)public Settings read(InputStream in, boolean strict) throws IOException, XmlPullParserException
in - strict - IOExceptionXmlPullParserExceptionpublic Settings read(InputStream in) throws IOException, XmlPullParserException
in - IOExceptionXmlPullParserExceptionpublic void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities - Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.