org.apache.maven.plugin.tools.model.io.xpp3
Class PluginMetadataXpp3Reader

java.lang.Object
  extended by org.apache.maven.plugin.tools.model.io.xpp3.PluginMetadataXpp3Reader

public class PluginMetadataXpp3Reader
extends Object

Class PluginMetadataXpp3Reader.

Version:
$Revision$ $Date$

Constructor Summary
PluginMetadataXpp3Reader()
           
 
Method Summary
 boolean getAddDefaultEntities()
          Method getAddDefaultEntities
 boolean getBooleanValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
          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
 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
 PluginMetadata read(Reader reader)
          Method read
 PluginMetadata read(Reader reader, boolean strict)
          Method read
 void setAddDefaultEntities(boolean addDefaultEntities)
          Returns 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

PluginMetadataXpp3Reader

public PluginMetadataXpp3Reader()
Method Detail

getAddDefaultEntities

public boolean getAddDefaultEntities()
Method getAddDefaultEntities


getBooleanValue

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

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

getCharacterValue

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

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

getDateValue

public Date getDateValue(String s,
                         String attribute,
                         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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getDoubleValue

public double getDoubleValue(String s,
                             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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getFloatValue

public float getFloatValue(String s,
                           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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getIntegerValue

public int getIntegerValue(String s,
                           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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getLongValue

public long getLongValue(String s,
                         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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getRequiredAttributeValue

public String getRequiredAttributeValue(String s,
                                        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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getShortValue

public short getShortValue(String s,
                           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 -
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException

getTrimmedValue

public String getTrimmedValue(String s)
Method getTrimmedValue

Parameters:
s -

read

public PluginMetadata read(Reader reader,
                           boolean strict)
                    throws IOException,
                           org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read

Parameters:
reader -
strict -
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

read

public PluginMetadata read(Reader reader)
                    throws IOException,
                           org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read

Parameters:
reader -
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.