org.apache.maven.shared.model.fileset.io.xpp3
Class FileSetXpp3Reader

java.lang.Object
  extended by org.apache.maven.shared.model.fileset.io.xpp3.FileSetXpp3Reader

public class FileSetXpp3Reader
extends java.lang.Object

Class FileSetXpp3Reader.

Version:
$Revision: 886882 $ $Date: 2013-11-16 21:55:43 +0000 (Sat, 16 Nov 2013) $

Constructor Summary
FileSetXpp3Reader()
           
 
Method Summary
 boolean getAddDefaultEntities()
          Returns the state of the "add default entities" flag.
 boolean getBooleanValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
          Method getBooleanValue.
 boolean getBooleanValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String defaultValue)
          Method getBooleanValue.
 char getCharacterValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
          Method getCharacterValue.
 java.util.Date getDateValue(java.lang.String s, java.lang.String attribute, java.lang.String dateFormat, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
          Method getDateValue.
 java.util.Date getDateValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
          Method getDateValue.
 double getDoubleValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
          Method getDoubleValue.
 float getFloatValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
          Method getFloatValue.
 int getIntegerValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
          Method getIntegerValue.
 long getLongValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
          Method getLongValue.
 java.lang.String getRequiredAttributeValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
          Method getRequiredAttributeValue.
 short getShortValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
          Method getShortValue.
 java.lang.String getTrimmedValue(java.lang.String s)
          Method getTrimmedValue.
 FileSet read(java.io.InputStream in)
          Method read.
 FileSet read(java.io.InputStream in, boolean strict)
          Method read.
 FileSet read(java.io.Reader reader)
           
 FileSet read(java.io.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

FileSetXpp3Reader

public FileSetXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

getBooleanValue

public boolean getBooleanValue(java.lang.String s,
                               java.lang.String attribute,
                               org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
                        throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getBooleanValue.

Parameters:
s -
parser -
attribute -
Returns:
boolean
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getBooleanValue

public boolean getBooleanValue(java.lang.String s,
                               java.lang.String attribute,
                               org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                               java.lang.String defaultValue)
                        throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getBooleanValue.

Parameters:
s -
defaultValue -
parser -
attribute -
Returns:
boolean
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getCharacterValue

public char getCharacterValue(java.lang.String s,
                              java.lang.String attribute,
                              org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
                       throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getCharacterValue.

Parameters:
s -
parser -
attribute -
Returns:
char
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getDateValue

public java.util.Date getDateValue(java.lang.String s,
                                   java.lang.String attribute,
                                   org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
                            throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getDateValue.

Parameters:
s -
parser -
attribute -
Returns:
java.util.Date
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getDateValue

public java.util.Date getDateValue(java.lang.String s,
                                   java.lang.String attribute,
                                   java.lang.String dateFormat,
                                   org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
                            throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getDateValue.

Parameters:
s -
parser -
dateFormat -
attribute -
Returns:
java.util.Date
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getDoubleValue

public double getDoubleValue(java.lang.String s,
                             java.lang.String attribute,
                             org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                             boolean strict)
                      throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getDoubleValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
double
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getFloatValue

public float getFloatValue(java.lang.String s,
                           java.lang.String attribute,
                           org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                           boolean strict)
                    throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getFloatValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
float
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getIntegerValue

public int getIntegerValue(java.lang.String s,
                           java.lang.String attribute,
                           org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                           boolean strict)
                    throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getIntegerValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
int
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getLongValue

public long getLongValue(java.lang.String s,
                         java.lang.String attribute,
                         org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                         boolean strict)
                  throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getLongValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
long
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getRequiredAttributeValue

public java.lang.String getRequiredAttributeValue(java.lang.String s,
                                                  java.lang.String attribute,
                                                  org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                                                  boolean strict)
                                           throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getRequiredAttributeValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
String
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getShortValue

public short getShortValue(java.lang.String s,
                           java.lang.String attribute,
                           org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                           boolean strict)
                    throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method getShortValue.

Parameters:
s -
strict -
parser -
attribute -
Returns:
short
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getTrimmedValue

public java.lang.String getTrimmedValue(java.lang.String s)
Method getTrimmedValue.

Parameters:
s -
Returns:
String

read

public FileSet read(java.io.Reader reader,
                    boolean strict)
             throws java.io.IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Parameters:
reader -
strict -
Returns:
FileSet
Throws:
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public FileSet read(java.io.Reader reader)
             throws java.io.IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Parameters:
reader -
Returns:
FileSet
Throws:
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public FileSet read(java.io.InputStream in,
                    boolean strict)
             throws java.io.IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.

Parameters:
in -
strict -
Returns:
FileSet
Throws:
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

read

public FileSet read(java.io.InputStream in)
             throws java.io.IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.

Parameters:
in -
Returns:
FileSet
Throws:
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.