|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.soebes.maven.plugins.mlv.model.io.xpp3.LicensesXpp3Reader
public class LicensesXpp3Reader
Class LicensesXpp3Reader.
Field Summary | |
---|---|
private boolean |
addDefaultEntities
If set the parser will be loaded with all single characters from the XHTML specification. |
Constructor Summary | |
---|---|
LicensesXpp3Reader()
|
Method Summary | |
---|---|
private boolean |
checkFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
String tagName,
String alias,
Set parsed)
Method checkFieldWithDuplicate. |
private void |
checkUnknownAttribute(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
String attribute,
String tagName,
boolean strict)
Method checkUnknownAttribute. |
private void |
checkUnknownElement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method checkUnknownElement. |
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag. |
private boolean |
getBooleanValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getBooleanValue. |
private boolean |
getBooleanValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
String defaultValue)
Method getBooleanValue. |
private byte |
getByteValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getByteValue. |
private char |
getCharacterValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getCharacterValue. |
private Date |
getDateValue(String s,
String attribute,
String dateFormat,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getDateValue. |
private Date |
getDateValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method getDateValue. |
private double |
getDoubleValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getDoubleValue. |
private float |
getFloatValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getFloatValue. |
private int |
getIntegerValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getIntegerValue. |
private long |
getLongValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getLongValue. |
private String |
getRequiredAttributeValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getRequiredAttributeValue. |
private short |
getShortValue(String s,
String attribute,
org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method getShortValue. |
private String |
getTrimmedValue(String s)
Method getTrimmedValue. |
private void |
initParser(org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method initParser. |
private int |
nextTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
Method nextTag. |
private LicenseItem |
parseLicenseItem(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseLicenseItem. |
private LicensesContainer |
parseLicensesContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseLicensesContainer. |
private LicensesList |
parseLicensesList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method parseLicensesList. |
LicensesContainer |
read(InputStream in)
Method read. |
LicensesContainer |
read(InputStream in,
boolean strict)
Method read. |
LicensesContainer |
read(Reader reader)
|
LicensesContainer |
read(Reader reader,
boolean strict)
|
private LicensesContainer |
read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
boolean strict)
Method read. |
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 LicensesXpp3Reader()
Method Detail |
---|
private boolean checkFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String tagName, String alias, Set parsed) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- parsed
- alias
- tagName
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private void checkUnknownAttribute(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String attribute, String tagName, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
parser
- strict
- tagName
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
private void checkUnknownElement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
parser
- strict
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public boolean getAddDefaultEntities()
private boolean getBooleanValue(String s, 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
private boolean getBooleanValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String defaultValue) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
s
- defaultValue
- parser
- attribute
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private byte getByteValue(String s, 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
private char getCharacterValue(String s, 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
private Date getDateValue(String s, 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
private Date getDateValue(String s, String attribute, 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
private double getDoubleValue(String s, 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
private float getFloatValue(String s, 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
private int getIntegerValue(String s, 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
private long getLongValue(String s, 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
private String getRequiredAttributeValue(String s, 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
private short getShortValue(String s, 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
private String getTrimmedValue(String s)
s
-
private void initParser(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
-
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private int nextTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private LicenseItem parseLicenseItem(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- strict
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private LicensesContainer parseLicensesContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- strict
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private LicensesList parseLicensesList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- strict
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public LicensesContainer read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- strict
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public LicensesContainer read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public LicensesContainer read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- strict
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public LicensesContainer read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
-
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
private LicensesContainer read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
parser
- strict
-
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 |