Class MavenXpp3Reader
- java.lang.Object
-
- org.apache.maven.model.v3_0_0.io.xpp3.MavenXpp3Reader
-
public class MavenXpp3Reader extends java.lang.ObjectClass MavenXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMavenXpp3Reader.ContentTransformer
-
Field Summary
Fields Modifier and Type Field Description private booleanaddDefaultEntitiesIf set the parser will be loaded with all single characters from the XHTML specification.MavenXpp3Reader.ContentTransformercontentTransformerField contentTransformer.
-
Constructor Summary
Constructors Constructor Description MavenXpp3Reader()MavenXpp3Reader(MavenXpp3Reader.ContentTransformer contentTransformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleancheckFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String tagName, java.lang.String alias, java.util.Set parsed)Method checkFieldWithDuplicate.private voidcheckUnknownAttribute(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String attribute, java.lang.String tagName, boolean strict)Method checkUnknownAttribute.private voidcheckUnknownElement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method checkUnknownElement.booleangetAddDefaultEntities()Returns the state of the "add default entities" flag.private booleangetBooleanValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)Method getBooleanValue.private booleangetBooleanValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String defaultValue)Method getBooleanValue.private bytegetByteValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getByteValue.private chargetCharacterValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)Method getCharacterValue.private java.util.DategetDateValue(java.lang.String s, java.lang.String attribute, java.lang.String dateFormat, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)Method getDateValue.private java.util.DategetDateValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)Method getDateValue.private doublegetDoubleValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getDoubleValue.private floatgetFloatValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getFloatValue.private intgetIntegerValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getIntegerValue.private longgetLongValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getLongValue.private java.lang.StringgetRequiredAttributeValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getRequiredAttributeValue.private shortgetShortValue(java.lang.String s, java.lang.String attribute, org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method getShortValue.private java.lang.StringgetTrimmedValue(java.lang.String s)Method getTrimmedValue.private java.lang.StringinterpolatedTrimmed(java.lang.String value, java.lang.String context)Method interpolatedTrimmed.private intnextTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser)Method nextTag.private BranchparseBranch(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseBranch.private BuildparseBuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseBuild.private BuildBaseparseBuildBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseBuildBase.private ContributorparseContributor(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseContributor.private DependencyparseDependency(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseDependency.private DeveloperparseDeveloper(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseDeveloper.private FileSetparseFileSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseFileSet.private LicenseparseLicense(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseLicense.private MailingListparseMailingList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseMailingList.private ModelparseModel(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseModel.private ModelBaseparseModelBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseModelBase.private OrganizationparseOrganization(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseOrganization.private PackageGroupparsePackageGroup(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePackageGroup.private PatternSetparsePatternSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePatternSet.private PluginConfigurationparsePluginConfiguration(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePluginConfiguration.private PluginContainerparsePluginContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePluginContainer.private RepositoryparseRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseRepository.private ResourceparseResource(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseResource.private SourceModificationparseSourceModification(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseSourceModification.private UnitTestparseUnitTest(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseUnitTest.private VersionparseVersion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseVersion.Modelread(java.io.InputStream in)Method read.Modelread(java.io.InputStream in, boolean strict)Method read.Modelread(java.io.Reader reader)Modelread(java.io.Reader reader, boolean strict)private Modelread(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method read.voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Field Detail
-
addDefaultEntities
private boolean 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
public final MavenXpp3Reader.ContentTransformer contentTransformer
Field contentTransformer.
-
-
Constructor Detail
-
MavenXpp3Reader
public MavenXpp3Reader()
-
MavenXpp3Reader
public MavenXpp3Reader(MavenXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Detail
-
checkFieldWithDuplicate
private boolean checkFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String tagName, java.lang.String alias, java.util.Set parsed) throws org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionMethod checkFieldWithDuplicate.- Parameters:
parser-parsed-alias-tagName-- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
checkUnknownAttribute
private void checkUnknownAttribute(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String attribute, java.lang.String tagName, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, java.io.IOExceptionMethod checkUnknownAttribute.- Parameters:
parser-strict-tagName-attribute-- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionjava.io.IOException
-
checkUnknownElement
private void checkUnknownElement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, java.io.IOExceptionMethod checkUnknownElement.- Parameters:
parser-strict-- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionjava.io.IOException
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
getBooleanValue
private 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.XmlPullParserExceptionMethod getBooleanValue.- Parameters:
s-parser-attribute-- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getBooleanValue
private 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.XmlPullParserExceptionMethod getBooleanValue.- Parameters:
s-defaultValue-parser-attribute-- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getByteValue
private byte getByteValue(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.XmlPullParserExceptionMethod getByteValue.- Parameters:
s-strict-parser-attribute-- Returns:
- byte
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getCharacterValue
private 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.XmlPullParserExceptionMethod getCharacterValue.- Parameters:
s-parser-attribute-- Returns:
- char
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getDateValue
private 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.XmlPullParserExceptionMethod getDateValue.- Parameters:
s-parser-attribute-- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getDateValue
private 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.XmlPullParserExceptionMethod getDateValue.- Parameters:
s-parser-dateFormat-attribute-- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getDoubleValue
private 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.XmlPullParserExceptionMethod getDoubleValue.- Parameters:
s-strict-parser-attribute-- Returns:
- double
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getFloatValue
private 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.XmlPullParserExceptionMethod getFloatValue.- Parameters:
s-strict-parser-attribute-- Returns:
- float
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getIntegerValue
private 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.XmlPullParserExceptionMethod getIntegerValue.- Parameters:
s-strict-parser-attribute-- Returns:
- int
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getLongValue
private 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.XmlPullParserExceptionMethod getLongValue.- Parameters:
s-strict-parser-attribute-- Returns:
- long
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getRequiredAttributeValue
private 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.XmlPullParserExceptionMethod getRequiredAttributeValue.- Parameters:
s-strict-parser-attribute-- Returns:
- String
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getShortValue
private 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.XmlPullParserExceptionMethod getShortValue.- Parameters:
s-strict-parser-attribute-- Returns:
- short
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getTrimmedValue
private java.lang.String getTrimmedValue(java.lang.String s)
Method getTrimmedValue.- Parameters:
s-- Returns:
- String
-
interpolatedTrimmed
private java.lang.String interpolatedTrimmed(java.lang.String value, java.lang.String context)Method interpolatedTrimmed.- Parameters:
value-context-- Returns:
- String
-
nextTag
private int nextTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionMethod nextTag.- Parameters:
parser-- Returns:
- int
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public Model read(java.io.Reader reader, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-strict-- Returns:
- Model
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public Model read(java.io.Reader reader) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-- Returns:
- Model
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public Model read(java.io.InputStream in, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-strict-- Returns:
- Model
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public Model read(java.io.InputStream in) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-- Returns:
- Model
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseBranch
private Branch parseBranch(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseBranch.- Parameters:
parser-strict-- Returns:
- Branch
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseBuild
private Build parseBuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseBuild.- Parameters:
parser-strict-- Returns:
- Build
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseBuildBase
private BuildBase parseBuildBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseBuildBase.- Parameters:
parser-strict-- Returns:
- BuildBase
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseContributor
private Contributor parseContributor(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseContributor.- Parameters:
parser-strict-- Returns:
- Contributor
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDependency
private Dependency parseDependency(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseDependency.- Parameters:
parser-strict-- Returns:
- Dependency
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDeveloper
private Developer parseDeveloper(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseDeveloper.- Parameters:
parser-strict-- Returns:
- Developer
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseFileSet
private FileSet parseFileSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseFileSet.- Parameters:
parser-strict-- Returns:
- FileSet
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseLicense
private License parseLicense(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseLicense.- Parameters:
parser-strict-- Returns:
- License
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseMailingList
private MailingList parseMailingList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseMailingList.- Parameters:
parser-strict-- Returns:
- MailingList
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseModel
private Model parseModel(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseModel.- Parameters:
parser-strict-- Returns:
- Model
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseModelBase
private ModelBase parseModelBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseModelBase.- Parameters:
parser-strict-- Returns:
- ModelBase
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseOrganization
private Organization parseOrganization(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseOrganization.- Parameters:
parser-strict-- Returns:
- Organization
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePackageGroup
private PackageGroup parsePackageGroup(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePackageGroup.- Parameters:
parser-strict-- Returns:
- PackageGroup
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePatternSet
private PatternSet parsePatternSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePatternSet.- Parameters:
parser-strict-- Returns:
- PatternSet
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePluginConfiguration
private PluginConfiguration parsePluginConfiguration(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePluginConfiguration.- Parameters:
parser-strict-- Returns:
- PluginConfiguration
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePluginContainer
private PluginContainer parsePluginContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePluginContainer.- Parameters:
parser-strict-- Returns:
- PluginContainer
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseRepository
private Repository parseRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseRepository.- Parameters:
parser-strict-- Returns:
- Repository
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseResource
private Resource parseResource(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseResource.- Parameters:
parser-strict-- Returns:
- Resource
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseSourceModification
private SourceModification parseSourceModification(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseSourceModification.- Parameters:
parser-strict-- Returns:
- SourceModification
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseUnitTest
private UnitTest parseUnitTest(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseUnitTest.- Parameters:
parser-strict-- Returns:
- UnitTest
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseVersion
private Version parseVersion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseVersion.- Parameters:
parser-strict-- Returns:
- Version
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
private Model read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
parser-strict-- Returns:
- Model
- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities-
-
-