Class ModelloFeaturesTestXpp3Reader
java.lang.Object
org.codehaus.modello.test.features.io.xpp3.ModelloFeaturesTestXpp3Reader
Class ModelloFeaturesTestXpp3Reader.
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
If set the parser will be loaded with all single characters from the XHTML specification.Field contentTransformer. -
Constructor Summary
ConstructorDescriptionModelloFeaturesTestXpp3Reader
(ModelloFeaturesTestXpp3Reader.ContentTransformer contentTransformer) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
checkFieldWithDuplicate
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String tagName, String alias, Set<String> 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
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
Method getTrimmedValue.private String
interpolatedTrimmed
(String value, String context) Method interpolatedTrimmed.private int
nextTag
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) Method nextTag.private Action
parseAction
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseAction.private AnnotationTest
parseAnnotationTest
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseAnnotationTest.private ArrayFeatures
parseArrayFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseArrayFeatures.private AssociationFeatures
parseAssociationFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseAssociationFeatures.private BaseClass
parseBaseClass
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseBaseClass.private BidiInList
parseBidiInList
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseBidiInList.private BidiInSet
parseBidiInSet
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseBidiInSet.private Bidirectional
parseBidirectional
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseBidirectional.private ContentTest
parseContentTest
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseContentTest.private DueTo
parseDueTo
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseDueTo.private Features
parseFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseFeatures.private File
parseFile
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseFile.private InterfacesFeature
parseInterfacesFeature
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseInterfacesFeature.private JavaFeatures
parseJavaFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseJavaFeatures.private NodeItem
parseNodeItem
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseNodeItem.private PackageNameFeature
parsePackageNameFeature
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parsePackageNameFeature.private Reference
parseReference
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseReference.private SimpleTypes
parseSimpleTypes
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseSimpleTypes.private SubClassLevel1
parseSubClassLevel1
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseSubClassLevel1.private SubClassLevel2
parseSubClassLevel2
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseSubClassLevel2.private SubClassLevel3
parseSubClassLevel3
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseSubClassLevel3.private SuperThing
parseSuperThing
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseSuperThing.private Thing
parseThing
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseThing.private Thingy
parseThingy
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseThingy.private XdocFeatures
parseXdocFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXdocFeatures.private XmlAttributes
parseXmlAttributes
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlAttributes.private XmlContent
parseXmlContent
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlContent.private XmlContentLong
parseXmlContentLong
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlContentLong.private XmlContentLongWithAttributes
parseXmlContentLongWithAttributes
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlContentLongWithAttributes.private XmlFeatures
parseXmlFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlFeatures.private XmlFieldsOrder
parseXmlFieldsOrder
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlFieldsOrder.private XmlFieldsOrderParent
parseXmlFieldsOrderParent
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlFieldsOrderParent.private XmlFieldsOrderParent2
parseXmlFieldsOrderParent2
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlFieldsOrderParent2.private XmlTransientFields
parseXmlTransientFields
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXmlTransientFields.private XsdFeatures
parseXsdFeatures
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method parseXsdFeatures.read
(InputStream in) Method read.read
(InputStream in, boolean strict) Method read.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.
-
Field Details
-
addDefaultEntities
If set the parser will be loaded with all single characters from the XHTML specification. The entities used:- http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
- http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
- http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
-
contentTransformer
Field contentTransformer.
-
-
Constructor Details
-
ModelloFeaturesTestXpp3Reader
public ModelloFeaturesTestXpp3Reader() -
ModelloFeaturesTestXpp3Reader
public ModelloFeaturesTestXpp3Reader(ModelloFeaturesTestXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Details
-
checkFieldWithDuplicate
private boolean checkFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String tagName, String alias, Set<String> parsed) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException Method checkFieldWithDuplicate.- Parameters:
parser
- a parser object.tagName
- a tagName object.alias
- a alias object.parsed
- a parsed object.- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
checkUnknownAttribute
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 Method checkUnknownAttribute.- Parameters:
parser
- a parser object.attribute
- a attribute object.tagName
- a tagName object.strict
- a strict object.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.IOException
- IOException if any.
-
checkUnknownElement
private void checkUnknownElement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Method checkUnknownElement.- Parameters:
parser
- a parser object.strict
- a strict object.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.IOException
- IOException if any.
-
getAddDefaultEntities
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
getBooleanValue
private 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
- a s object.attribute
- a attribute object.parser
- a parser object.- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getBooleanValue
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 Method getBooleanValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.defaultValue
- a defaultValue object.- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getByteValue
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 Method getByteValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- byte
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getCharacterValue
private 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
- a s object.attribute
- a attribute object.parser
- a parser object.- Returns:
- char
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getDateValue
private Date getDateValue(String s, String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException Method getDateValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getDateValue
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 Method getDateValue.- Parameters:
s
- a s object.attribute
- a attribute object.dateFormat
- a dateFormat object.parser
- a parser object.- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getDoubleValue
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 Method getDoubleValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- double
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getFloatValue
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 Method getFloatValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- float
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getIntegerValue
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 Method getIntegerValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- int
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getLongValue
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 Method getLongValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- long
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getRequiredAttributeValue
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 Method getRequiredAttributeValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- String
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getShortValue
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 Method getShortValue.- Parameters:
s
- a s object.attribute
- a attribute object.parser
- a parser object.strict
- a strict object.- Returns:
- short
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
getTrimmedValue
Method getTrimmedValue.- Parameters:
s
- a s object.- Returns:
- String
-
interpolatedTrimmed
Method interpolatedTrimmed.- Parameters:
value
- a value object.context
- a context object.- Returns:
- String
-
nextTag
private int nextTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method nextTag.- Parameters:
parser
- a parser object.- Returns:
- int
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
read
public Features read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method read.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Features
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
read
public Features read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Parameters:
reader
- a reader object.strict
- a strict object.- Returns:
- Features
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.- See Also:
-
read
public Features read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Parameters:
reader
- a reader object.- Returns:
- Features
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.- See Also:
-
read
public Features read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- Features
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
read
public Features read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method read.- Parameters:
in
- a in object.- Returns:
- Features
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseAction
private Action parseAction(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseAction.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Action
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseAnnotationTest
private AnnotationTest parseAnnotationTest(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseAnnotationTest.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- AnnotationTest
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseArrayFeatures
private ArrayFeatures parseArrayFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseArrayFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- ArrayFeatures
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseAssociationFeatures
private AssociationFeatures parseAssociationFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseAssociationFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- AssociationFeatures
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseBaseClass
private BaseClass parseBaseClass(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseBaseClass.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- BaseClass
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseBidiInList
private BidiInList parseBidiInList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseBidiInList.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- BidiInList
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseBidiInSet
private BidiInSet parseBidiInSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseBidiInSet.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- BidiInSet
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseBidirectional
private Bidirectional parseBidirectional(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseBidirectional.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Bidirectional
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseContentTest
private ContentTest parseContentTest(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseContentTest.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- ContentTest
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseDueTo
private DueTo parseDueTo(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseDueTo.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- DueTo
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseFeatures
private Features parseFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Features
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseFile
private File parseFile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseFile.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- File
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseInterfacesFeature
private InterfacesFeature parseInterfacesFeature(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseInterfacesFeature.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- InterfacesFeature
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseJavaFeatures
private JavaFeatures parseJavaFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseJavaFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- JavaFeatures
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseNodeItem
private NodeItem parseNodeItem(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseNodeItem.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- NodeItem
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parsePackageNameFeature
private PackageNameFeature parsePackageNameFeature(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePackageNameFeature.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- PackageNameFeature
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseReference
private Reference parseReference(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseReference.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Reference
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseSimpleTypes
private SimpleTypes parseSimpleTypes(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseSimpleTypes.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- SimpleTypes
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseSubClassLevel1
private SubClassLevel1 parseSubClassLevel1(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseSubClassLevel1.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- SubClassLevel1
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseSubClassLevel2
private SubClassLevel2 parseSubClassLevel2(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseSubClassLevel2.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- SubClassLevel2
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseSubClassLevel3
private SubClassLevel3 parseSubClassLevel3(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseSubClassLevel3.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- SubClassLevel3
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseSuperThing
private SuperThing parseSuperThing(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseSuperThing.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- SuperThing
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseThing
private Thing parseThing(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseThing.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Thing
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseThingy
private Thingy parseThingy(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseThingy.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- Thingy
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXdocFeatures
private XdocFeatures parseXdocFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXdocFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XdocFeatures
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlAttributes
private XmlAttributes parseXmlAttributes(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlAttributes.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlAttributes
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlContent
private XmlContent parseXmlContent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlContent.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlContent
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlContentLong
private XmlContentLong parseXmlContentLong(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlContentLong.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlContentLong
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlContentLongWithAttributes
private XmlContentLongWithAttributes parseXmlContentLongWithAttributes(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlContentLongWithAttributes.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlContentLongWithAttributes
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlFeatures
private XmlFeatures parseXmlFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlFeatures
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlFieldsOrder
private XmlFieldsOrder parseXmlFieldsOrder(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlFieldsOrder.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlFieldsOrder
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlFieldsOrderParent
private XmlFieldsOrderParent parseXmlFieldsOrderParent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlFieldsOrderParent.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlFieldsOrderParent
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlFieldsOrderParent2
private XmlFieldsOrderParent2 parseXmlFieldsOrderParent2(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlFieldsOrderParent2.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlFieldsOrderParent2
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXmlTransientFields
private XmlTransientFields parseXmlTransientFields(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXmlTransientFields.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XmlTransientFields
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
parseXsdFeatures
private XsdFeatures parseXsdFeatures(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseXsdFeatures.- Parameters:
parser
- a parser object.strict
- a strict object.- Returns:
- XsdFeatures
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
setAddDefaultEntities
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities
- a addDefaultEntities object.
-