|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.tools.model.io.xpp3.PluginMetadataXpp3Reader
public class PluginMetadataXpp3Reader
Class PluginMetadataXpp3Reader.
Field Summary | |
---|---|
private boolean |
addDefaultEntities
If set the parser till be loaded with all single characters from the XHTML specification. |
Constructor Summary | |
---|---|
PluginMetadataXpp3Reader()
|
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 |
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 |
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 |
private Component |
parseComponent(java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseComponent |
private LifecycleExecution |
parseLifecycleExecution(java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseLifecycleExecution |
private Mojo |
parseMojo(java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseMojo |
private Parameter |
parseParameter(java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseParameter |
private PluginMetadata |
parsePluginMetadata(java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parsePluginMetadata |
PluginMetadata |
read(java.io.InputStream in)
Method read |
PluginMetadata |
read(java.io.InputStream in,
boolean strict)
Method read |
PluginMetadata |
read(java.io.Reader reader)
|
PluginMetadata |
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 |
Field Detail |
---|
private boolean addDefaultEntities
Constructor Detail |
---|
public PluginMetadataXpp3Reader()
Method Detail |
---|
public boolean getAddDefaultEntities()
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
s
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- parser
- dateFormat
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- strict
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- strict
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- strict
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- strict
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- strict
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
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
s
- strict
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public java.lang.String getTrimmedValue(java.lang.String s)
s
- private Component parseComponent(java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
tagName
- strict
- parser
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private LifecycleExecution parseLifecycleExecution(java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
tagName
- strict
- parser
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private Mojo parseMojo(java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
tagName
- strict
- parser
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private Parameter parseParameter(java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
tagName
- strict
- parser
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private PluginMetadata parsePluginMetadata(java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
tagName
- strict
- parser
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public PluginMetadata read(java.io.Reader reader, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- strict
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public PluginMetadata read(java.io.Reader reader) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public PluginMetadata read(java.io.InputStream in, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- strict
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public PluginMetadata read(java.io.InputStream in) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
-
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |