Package org.apache.maven.model.io.xpp3
Class MavenXpp3ReaderEx
java.lang.Object
org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx
Class MavenXpp3ReaderEx.
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
private static class
Class Xpp3DomBuilderInputLocationBuilder. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
If set the parser will be loaded with all single characters from the XHTML specification.Field contentTransformer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
checkFieldWithDuplicate
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String tagName, String alias, Set parsed) Method checkFieldWithDuplicate.private void
checkUnknownAttribute
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String attribute, String tagName, boolean strict) Method checkUnknownAttribute.private void
checkUnknownElement
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) Method checkUnknownElement.boolean
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 Activation
parseActivation
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseActivation.private ActivationFile
parseActivationFile
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseActivationFile.private ActivationOS
parseActivationOS
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseActivationOS.private ActivationProperty
parseActivationProperty
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseActivationProperty.private Build
parseBuild
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseBuild.private BuildBase
parseBuildBase
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseBuildBase.private CiManagement
parseCiManagement
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseCiManagement.private ConfigurationContainer
parseConfigurationContainer
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseConfigurationContainer.private Contributor
parseContributor
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseContributor.private Dependency
parseDependency
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseDependency.private DependencyManagement
parseDependencyManagement
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseDependencyManagement.private DeploymentRepository
parseDeploymentRepository
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseDeploymentRepository.private Developer
parseDeveloper
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseDeveloper.private DistributionManagement
parseDistributionManagement
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseDistributionManagement.private Exclusion
parseExclusion
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseExclusion.private Extension
parseExtension
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseExtension.private FileSet
parseFileSet
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseFileSet.private IssueManagement
parseIssueManagement
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseIssueManagement.private License
parseLicense
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseLicense.private MailingList
parseMailingList
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseMailingList.private Model
parseModel
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseModel.private ModelBase
parseModelBase
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseModelBase.private Notifier
parseNotifier
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseNotifier.private Organization
parseOrganization
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseOrganization.private Parent
parseParent
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseParent.private PatternSet
parsePatternSet
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePatternSet.private Plugin
parsePlugin
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePlugin.private PluginConfiguration
parsePluginConfiguration
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePluginConfiguration.private PluginContainer
parsePluginContainer
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePluginContainer.private PluginExecution
parsePluginExecution
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePluginExecution.private PluginManagement
parsePluginManagement
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePluginManagement.private Prerequisites
parsePrerequisites
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parsePrerequisites.private Profile
parseProfile
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseProfile.private Relocation
parseRelocation
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseRelocation.private Reporting
parseReporting
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseReporting.private ReportPlugin
parseReportPlugin
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseReportPlugin.private ReportSet
parseReportSet
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseReportSet.private Repository
parseRepository
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseRepository.private RepositoryBase
parseRepositoryBase
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseRepositoryBase.private RepositoryPolicy
parseRepositoryPolicy
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseRepositoryPolicy.private Resource
parseResource
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseResource.private Scm
parseScm
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseScm.private Site
parseSite
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method parseSite.read
(InputStream in, boolean strict, InputSource source) Method read.read
(Reader reader, boolean strict, InputSource source) private Model
read
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) Method read.void
setAddDefaultEntities
(boolean addDefaultEntities) Sets the state of the "add default entities" flag.
-
Field Details
-
addDefaultEntities
private boolean addDefaultEntitiesIf 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
-
MavenXpp3ReaderEx
public MavenXpp3ReaderEx() -
MavenXpp3ReaderEx
-
-
Method Details
-
checkFieldWithDuplicate
private boolean checkFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String tagName, String alias, Set parsed) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException Method 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, String attribute, String tagName, boolean strict) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException Method checkUnknownAttribute.- Parameters:
parser
-strict
-tagName
-attribute
-- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
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
-strict
-- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
-
getAddDefaultEntities
public boolean 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
-parser
-attribute
-- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-defaultValue
-parser
-attribute
-- Returns:
- boolean
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- byte
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-parser
-attribute
-- Returns:
- char
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-parser
-attribute
-- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-parser
-dateFormat
-attribute
-- Returns:
- Date
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- double
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- float
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- int
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- long
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- String
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
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
-strict
-parser
-attribute
-- Returns:
- short
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getTrimmedValue
Method getTrimmedValue.- Parameters:
s
-- Returns:
- String
-
interpolatedTrimmed
Method interpolatedTrimmed.- Parameters:
value
-context
-- 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
-- Returns:
- int
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public Model read(Reader reader, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Parameters:
reader
-source
-strict
-- Returns:
- Model
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- See Also:
-
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public Model read(InputStream in, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method read.- Parameters:
in
-source
-strict
-- Returns:
- Model
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseActivation
private Activation parseActivation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseActivation.- Parameters:
parser
-source
-strict
-- Returns:
- Activation
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseActivationFile
private ActivationFile parseActivationFile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseActivationFile.- Parameters:
parser
-source
-strict
-- Returns:
- ActivationFile
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseActivationOS
private ActivationOS parseActivationOS(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseActivationOS.- Parameters:
parser
-source
-strict
-- Returns:
- ActivationOS
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseActivationProperty
private ActivationProperty parseActivationProperty(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseActivationProperty.- Parameters:
parser
-source
-strict
-- Returns:
- ActivationProperty
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseBuild
private Build parseBuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseBuild.- Parameters:
parser
-source
-strict
-- Returns:
- Build
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseBuildBase
private BuildBase parseBuildBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseBuildBase.- Parameters:
parser
-source
-strict
-- Returns:
- BuildBase
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseCiManagement
private CiManagement parseCiManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseCiManagement.- Parameters:
parser
-source
-strict
-- Returns:
- CiManagement
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseConfigurationContainer
private ConfigurationContainer parseConfigurationContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseConfigurationContainer.- Parameters:
parser
-source
-strict
-- Returns:
- ConfigurationContainer
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseContributor
private Contributor parseContributor(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseContributor.- Parameters:
parser
-source
-strict
-- Returns:
- Contributor
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDependency
private Dependency parseDependency(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseDependency.- Parameters:
parser
-source
-strict
-- Returns:
- Dependency
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDependencyManagement
private DependencyManagement parseDependencyManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseDependencyManagement.- Parameters:
parser
-source
-strict
-- Returns:
- DependencyManagement
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDeploymentRepository
private DeploymentRepository parseDeploymentRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseDeploymentRepository.- Parameters:
parser
-source
-strict
-- Returns:
- DeploymentRepository
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDeveloper
private Developer parseDeveloper(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseDeveloper.- Parameters:
parser
-source
-strict
-- Returns:
- Developer
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseDistributionManagement
private DistributionManagement parseDistributionManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseDistributionManagement.- Parameters:
parser
-source
-strict
-- Returns:
- DistributionManagement
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseExclusion
private Exclusion parseExclusion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseExclusion.- Parameters:
parser
-source
-strict
-- Returns:
- Exclusion
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseExtension
private Extension parseExtension(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseExtension.- Parameters:
parser
-source
-strict
-- Returns:
- Extension
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseFileSet
private FileSet parseFileSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseFileSet.- Parameters:
parser
-source
-strict
-- Returns:
- FileSet
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseIssueManagement
private IssueManagement parseIssueManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseIssueManagement.- Parameters:
parser
-source
-strict
-- Returns:
- IssueManagement
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseLicense
private License parseLicense(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseLicense.- Parameters:
parser
-source
-strict
-- Returns:
- License
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseMailingList
private MailingList parseMailingList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseMailingList.- Parameters:
parser
-source
-strict
-- Returns:
- MailingList
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseModel
private Model parseModel(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseModel.- Parameters:
parser
-source
-strict
-- Returns:
- Model
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseModelBase
private ModelBase parseModelBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseModelBase.- Parameters:
parser
-source
-strict
-- Returns:
- ModelBase
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseNotifier
private Notifier parseNotifier(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseNotifier.- Parameters:
parser
-source
-strict
-- Returns:
- Notifier
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseOrganization
private Organization parseOrganization(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseOrganization.- Parameters:
parser
-source
-strict
-- Returns:
- Organization
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseParent
private Parent parseParent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseParent.- Parameters:
parser
-source
-strict
-- Returns:
- Parent
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePatternSet
private PatternSet parsePatternSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePatternSet.- Parameters:
parser
-source
-strict
-- Returns:
- PatternSet
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePlugin
private Plugin parsePlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePlugin.- Parameters:
parser
-source
-strict
-- Returns:
- Plugin
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePluginConfiguration
private PluginConfiguration parsePluginConfiguration(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePluginConfiguration.- Parameters:
parser
-source
-strict
-- Returns:
- PluginConfiguration
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePluginContainer
private PluginContainer parsePluginContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePluginContainer.- Parameters:
parser
-source
-strict
-- Returns:
- PluginContainer
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePluginExecution
private PluginExecution parsePluginExecution(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePluginExecution.- Parameters:
parser
-source
-strict
-- Returns:
- PluginExecution
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePluginManagement
private PluginManagement parsePluginManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePluginManagement.- Parameters:
parser
-source
-strict
-- Returns:
- PluginManagement
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parsePrerequisites
private Prerequisites parsePrerequisites(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parsePrerequisites.- Parameters:
parser
-source
-strict
-- Returns:
- Prerequisites
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseProfile
private Profile parseProfile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseProfile.- Parameters:
parser
-source
-strict
-- Returns:
- Profile
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseRelocation
private Relocation parseRelocation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseRelocation.- Parameters:
parser
-source
-strict
-- Returns:
- Relocation
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseReportPlugin
private ReportPlugin parseReportPlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseReportPlugin.- Parameters:
parser
-source
-strict
-- Returns:
- ReportPlugin
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseReportSet
private ReportSet parseReportSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseReportSet.- Parameters:
parser
-source
-strict
-- Returns:
- ReportSet
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseReporting
private Reporting parseReporting(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseReporting.- Parameters:
parser
-source
-strict
-- Returns:
- Reporting
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseRepository
private Repository parseRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseRepository.- Parameters:
parser
-source
-strict
-- Returns:
- Repository
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseRepositoryBase
private RepositoryBase parseRepositoryBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseRepositoryBase.- Parameters:
parser
-source
-strict
-- Returns:
- RepositoryBase
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseRepositoryPolicy
private RepositoryPolicy parseRepositoryPolicy(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseRepositoryPolicy.- Parameters:
parser
-source
-strict
-- Returns:
- RepositoryPolicy
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseResource
private Resource parseResource(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseResource.- Parameters:
parser
-source
-strict
-- Returns:
- Resource
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseScm
private Scm parseScm(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseScm.- Parameters:
parser
-source
-strict
-- Returns:
- Scm
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
parseSite
private Site parseSite(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method parseSite.- Parameters:
parser
-source
-strict
-- Returns:
- Site
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
private Model read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Method read.- Parameters:
parser
-source
-strict
-- Returns:
- Model
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities) Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities
-
-