Package org.apache.maven.model.io.xpp3
Class MavenXpp3Reader
- java.lang.Object
-
- org.apache.maven.model.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 ActivationparseActivation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseActivation.private ActivationFileparseActivationFile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseActivationFile.private ActivationOSparseActivationOS(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseActivationOS.private ActivationPropertyparseActivationProperty(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseActivationProperty.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 CiManagementparseCiManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseCiManagement.private ConfigurationContainerparseConfigurationContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseConfigurationContainer.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 DependencyManagementparseDependencyManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseDependencyManagement.private DeploymentRepositoryparseDeploymentRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseDeploymentRepository.private DeveloperparseDeveloper(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseDeveloper.private DistributionManagementparseDistributionManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseDistributionManagement.private ExclusionparseExclusion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseExclusion.private ExtensionparseExtension(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseExtension.private FileSetparseFileSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseFileSet.private IssueManagementparseIssueManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseIssueManagement.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 NotifierparseNotifier(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseNotifier.private OrganizationparseOrganization(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseOrganization.private ParentparseParent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseParent.private PatternSetparsePatternSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePatternSet.private PluginparsePlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePlugin.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 PluginExecutionparsePluginExecution(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePluginExecution.private PluginManagementparsePluginManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePluginManagement.private PrerequisitesparsePrerequisites(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parsePrerequisites.private ProfileparseProfile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseProfile.private RelocationparseRelocation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseRelocation.private ReportingparseReporting(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseReporting.private ReportPluginparseReportPlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseReportPlugin.private ReportSetparseReportSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseReportSet.private RepositoryparseRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseRepository.private RepositoryBaseparseRepositoryBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseRepositoryBase.private RepositoryPolicyparseRepositoryPolicy(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseRepositoryPolicy.private ResourceparseResource(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseResource.private ScmparseScm(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseScm.private SiteparseSite(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)Method parseSite.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- a parser object.parsed- a parsed object.alias- a alias object.tagName- a tagName 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, java.lang.String attribute, java.lang.String tagName, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, java.io.IOExceptionMethod checkUnknownAttribute.- Parameters:
parser- a parser object.strict- a strict object.tagName- a tagName object.attribute- a attribute object.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.java.io.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, java.io.IOExceptionMethod checkUnknownElement.- Parameters:
parser- a parser object.strict- a strict object.- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.java.io.IOException- IOException if any.
-
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- a s object.parser- a parser object.attribute- a attribute object.- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.defaultValue- a defaultValue object.parser- a parser object.attribute- a attribute object.- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- byte
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.parser- a parser object.attribute- a attribute object.- Returns:
- char
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.parser- a parser object.attribute- a attribute object.- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.parser- a parser object.dateFormat- a dateFormat object.attribute- a attribute object.- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- double
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- float
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- int
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- long
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- String
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a s object.strict- a strict object.parser- a parser object.attribute- a attribute object.- Returns:
- short
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
getTrimmedValue
private java.lang.String getTrimmedValue(java.lang.String s)
Method getTrimmedValue.- Parameters:
s- a s object.- Returns:
- String
-
interpolatedTrimmed
private java.lang.String interpolatedTrimmed(java.lang.String value, java.lang.String context)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 java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionMethod nextTag.- Parameters:
parser- a parser object.- Returns:
- int
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
read
public Model read(java.io.Reader reader, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader- a reader object.strict- a strict object.- Returns:
- Model
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.- 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- a reader object.- Returns:
- Model
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.- 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- a in object.strict- a strict object.- Returns:
- Model
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
read
public Model read(java.io.InputStream in) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in- a in object.- Returns:
- Model
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseActivation
private Activation parseActivation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseActivation.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Activation
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseActivationFile
private ActivationFile parseActivationFile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseActivationFile.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- ActivationFile
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseActivationOS
private ActivationOS parseActivationOS(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseActivationOS.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- ActivationOS
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseActivationProperty
private ActivationProperty parseActivationProperty(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseActivationProperty.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- ActivationProperty
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Build
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- BuildBase
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseCiManagement
private CiManagement parseCiManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseCiManagement.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- CiManagement
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseConfigurationContainer
private ConfigurationContainer parseConfigurationContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseConfigurationContainer.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- ConfigurationContainer
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Contributor
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Dependency
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseDependencyManagement
private DependencyManagement parseDependencyManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseDependencyManagement.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- DependencyManagement
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseDeploymentRepository
private DeploymentRepository parseDeploymentRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseDeploymentRepository.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- DeploymentRepository
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Developer
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseDistributionManagement
private DistributionManagement parseDistributionManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseDistributionManagement.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- DistributionManagement
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseExclusion
private Exclusion parseExclusion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseExclusion.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Exclusion
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseExtension
private Extension parseExtension(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseExtension.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Extension
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- FileSet
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseIssueManagement
private IssueManagement parseIssueManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseIssueManagement.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- IssueManagement
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- License
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- MailingList
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Model
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- ModelBase
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseNotifier
private Notifier parseNotifier(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseNotifier.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Notifier
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Organization
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseParent
private Parent parseParent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseParent.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Parent
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- PatternSet
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parsePlugin
private Plugin parsePlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePlugin.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Plugin
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- PluginConfiguration
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- PluginContainer
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parsePluginExecution
private PluginExecution parsePluginExecution(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePluginExecution.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- PluginExecution
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parsePluginManagement
private PluginManagement parsePluginManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePluginManagement.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- PluginManagement
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parsePrerequisites
private Prerequisites parsePrerequisites(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parsePrerequisites.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Prerequisites
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseProfile
private Profile parseProfile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseProfile.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Profile
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseRelocation
private Relocation parseRelocation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseRelocation.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Relocation
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseReportPlugin
private ReportPlugin parseReportPlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseReportPlugin.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- ReportPlugin
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseReportSet
private ReportSet parseReportSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseReportSet.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- ReportSet
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseReporting
private Reporting parseReporting(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseReporting.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Reporting
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Repository
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseRepositoryBase
private RepositoryBase parseRepositoryBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseRepositoryBase.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- RepositoryBase
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseRepositoryPolicy
private RepositoryPolicy parseRepositoryPolicy(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseRepositoryPolicy.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- RepositoryPolicy
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Resource
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseScm
private Scm parseScm(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseScm.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Scm
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
parseSite
private Site parseSite(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method parseSite.- Parameters:
parser- a parser object.strict- a strict object.- Returns:
- Site
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
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- a parser object.strict- a strict object.- Returns:
- Model
- Throws:
java.io.IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities- a addDefaultEntities object.
-
-