org.apache.maven.scm.providers.vss.settings.io.xpp3
Class VssXpp3Reader

java.lang.Object
  extended by org.apache.maven.scm.providers.vss.settings.io.xpp3.VssXpp3Reader

public class VssXpp3Reader
extends Object

Class VssXpp3Reader.

Version:
$Revision$ $Date$

Constructor Summary
VssXpp3Reader()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VssXpp3Reader

public VssXpp3Reader()
Method Detail

getAddDefaultEntities

public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.

Returns:
boolean

getBooleanValue

public boolean getBooleanValue(String s,
                               String attribute,
                               XmlPullParser parser)
                        throws XmlPullParserException
Method getBooleanValue.

Parameters:
s -
parser -
attribute -
Returns:
boolean
Throws:
XmlPullParserException

getBooleanValue

public boolean getBooleanValue(String s,
                               String attribute,
                               XmlPullParser parser,
                               String defaultValue)
                        throws XmlPullParserException
Method getBooleanValue.

Parameters:
s -
defaultValue -
parser -
attribute -
Returns:
boolean
Throws:
XmlPullParserException

getCharacterValue

public char getCharacterValue(String s,
                              String attribute,
                              XmlPullParser parser)
                       throws XmlPullParserException
Method getCharacterValue.

Parameters:
s -
parser -
attribute -
Returns:
char
Throws:
XmlPullParserException

getDateValue

public Date getDateValue(String s,
                         String attribute,
                         XmlPullParser parser)
                  throws XmlPullParserException
Method getDateValue.

Parameters:
s -
parser -
attribute -
Returns:
java.util.Date
Throws:
XmlPullParserException

getDateValue

public Date getDateValue(String s,
                         String attribute,
                         String dateFormat,
                         XmlPullParser parser)
                  throws XmlPullParserException
Method getDateValue.

Parameters:
s -
parser -
dateFormat -
attribute -
Returns:
java.util.Date
Throws:
XmlPullParserException

getDoubleValue

public double getDoubleValue(String s,
                             String attribute,
                             XmlPullParser parser,
                             boolean strict)
                      throws XmlPullParserException
Method getDoubleValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
double
Throws:
XmlPullParserException

getFloatValue

public float getFloatValue(String s,
                           String attribute,
                           XmlPullParser parser,
                           boolean strict)
                    throws XmlPullParserException
Method getFloatValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
float
Throws:
XmlPullParserException

getIntegerValue

public int getIntegerValue(String s,
                           String attribute,
                           XmlPullParser parser,
                           boolean strict)
                    throws XmlPullParserException
Method getIntegerValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
int
Throws:
XmlPullParserException

getLongValue

public long getLongValue(String s,
                         String attribute,
                         XmlPullParser parser,
                         boolean strict)
                  throws XmlPullParserException
Method getLongValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
long
Throws:
XmlPullParserException

getRequiredAttributeValue

public String getRequiredAttributeValue(String s,
                                        String attribute,
                                        XmlPullParser parser,
                                        boolean strict)
                                 throws XmlPullParserException
Method getRequiredAttributeValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
String
Throws:
XmlPullParserException

getShortValue

public short getShortValue(String s,
                           String attribute,
                           XmlPullParser parser,
                           boolean strict)
                    throws XmlPullParserException
Method getShortValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
short
Throws:
XmlPullParserException

getTrimmedValue

public String getTrimmedValue(String s)
Method getTrimmedValue.

Parameters:
s -
Returns:
String

read

public Settings read(Reader reader,
                     boolean strict)
              throws IOException,
                     XmlPullParserException
Parameters:
reader -
strict -
Returns:
Settings
Throws:
IOException
XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public Settings read(Reader reader)
              throws IOException,
                     XmlPullParserException
Parameters:
reader -
Returns:
Settings
Throws:
IOException
XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public Settings read(InputStream in,
                     boolean strict)
              throws IOException,
                     XmlPullParserException
Method read.

Parameters:
in -
strict -
Returns:
Settings
Throws:
IOException
XmlPullParserException

read

public Settings read(InputStream in)
              throws IOException,
                     XmlPullParserException
Method read.

Parameters:
in -
Returns:
Settings
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.

Parameters:
addDefaultEntities -


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.