Class PolyglotMavenXpp3Reader

java.lang.Object
org.sonatype.maven.polyglot.xml.xpp3.PolyglotMavenXpp3Reader

public class PolyglotMavenXpp3Reader extends Object
Class MavenXpp3Reader.
Version:
$Revision$ $Date$
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
    If set the parser will be loaded with all single characters from the XHTML specification.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private boolean
    checkFieldWithDuplicate(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String tagName, String alias, Set parsed)
    Method checkFieldWithDuplicate.
    private void
    checkUnknownAttribute(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String attribute, String tagName, boolean strict)
    Method checkUnknownAttribute.
    private void
    checkUnknownElement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method checkUnknownElement.
    boolean
    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 void
    initParser(org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
    Method initParser.
    private int
    nextTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
    Method nextTag.
    private org.apache.maven.model.Activation
    parseActivation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseActivation.
    private org.apache.maven.model.ActivationFile
    parseActivationFile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseActivationFile.
    private org.apache.maven.model.ActivationOS
    parseActivationOS(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseActivationOS.
    private org.apache.maven.model.ActivationProperty
    parseActivationProperty(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseActivationProperty.
    private org.apache.maven.model.Build
    parseBuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseBuild.
    private org.apache.maven.model.BuildBase
    parseBuildBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseBuildBase.
    private org.apache.maven.model.CiManagement
    parseCiManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseCiManagement.
    private org.apache.maven.model.ConfigurationContainer
    parseConfigurationContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseConfigurationContainer.
    private org.apache.maven.model.Contributor
    parseContributor(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseContributor.
    private org.apache.maven.model.Dependency
    parseDependency(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseDependency.
    private org.apache.maven.model.DependencyManagement
    parseDependencyManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseDependencyManagement.
    private org.apache.maven.model.DeploymentRepository
    parseDeploymentRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseDeploymentRepository.
    private org.apache.maven.model.Developer
    parseDeveloper(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseDeveloper.
    private org.apache.maven.model.DistributionManagement
    parseDistributionManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseDistributionManagement.
    private org.apache.maven.model.Exclusion
    parseExclusion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseExclusion.
    private org.apache.maven.model.Extension
    parseExtension(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseExtension.
    private org.apache.maven.model.FileSet
    parseFileSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseFileSet.
    private org.apache.maven.model.IssueManagement
    parseIssueManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseIssueManagement.
    private org.apache.maven.model.License
    parseLicense(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseLicense.
    private org.apache.maven.model.MailingList
    parseMailingList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseMailingList.
    private org.apache.maven.model.Model
    parseModel(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseModel.
    private org.apache.maven.model.ModelBase
    parseModelBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseModelBase.
    private org.apache.maven.model.Notifier
    parseNotifier(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseNotifier.
    private org.apache.maven.model.Organization
    parseOrganization(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseOrganization.
    private org.apache.maven.model.Parent
    parseParent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseParent.
    private org.apache.maven.model.PatternSet
    parsePatternSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePatternSet.
    private org.apache.maven.model.Plugin
    parsePlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePlugin.
    private org.apache.maven.model.PluginConfiguration
    parsePluginConfiguration(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePluginConfiguration.
    private org.apache.maven.model.PluginContainer
    parsePluginContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePluginContainer.
    private org.apache.maven.model.PluginExecution
    parsePluginExecution(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePluginExecution.
    private org.apache.maven.model.PluginManagement
    parsePluginManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePluginManagement.
    private org.apache.maven.model.Prerequisites
    parsePrerequisites(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parsePrerequisites.
    private org.apache.maven.model.Profile
    parseProfile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseProfile.
    private org.apache.maven.model.Relocation
    parseRelocation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseRelocation.
    private org.apache.maven.model.Reporting
    parseReporting(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseReporting.
    private org.apache.maven.model.ReportPlugin
    parseReportPlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseReportPlugin.
    private org.apache.maven.model.ReportSet
    parseReportSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseReportSet.
    private org.apache.maven.model.Repository
    parseRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseRepository.
    private org.apache.maven.model.RepositoryBase
    parseRepositoryBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseRepositoryBase.
    private org.apache.maven.model.RepositoryPolicy
    parseRepositoryPolicy(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseRepositoryPolicy.
    private org.apache.maven.model.Resource
    parseResource(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseResource.
    private org.apache.maven.model.Scm
    parseScm(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseScm.
    private org.apache.maven.model.Site
    parseSite(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method parseSite.
    org.apache.maven.model.Model
    Method read.
    org.apache.maven.model.Model
    read(InputStream in, boolean strict)
    Method read.
    org.apache.maven.model.Model
    read(Reader reader)
     
    org.apache.maven.model.Model
    read(Reader reader, boolean strict)
     
    private org.apache.maven.model.Model
    read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict)
    Method read.
    void
    setAddDefaultEntities(boolean addDefaultEntities)
    Sets the state of the "add default entities" flag.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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
  • Constructor Details

    • PolyglotMavenXpp3Reader

      public PolyglotMavenXpp3Reader()
  • 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 -
      tagName -
      alias -
      parsed -
      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 -
      attribute -
      tagName -
      strict -
      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 -
      attribute -
      parser -
      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 -
      attribute -
      parser -
      defaultValue -
      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 -
      attribute -
      parser -
      strict -
      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 -
      attribute -
      parser -
      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 -
      attribute -
      parser -
      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 -
      attribute -
      dateFormat -
      parser -
      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 -
      attribute -
      parser -
      strict -
      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 -
      attribute -
      parser -
      strict -
      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 -
      attribute -
      parser -
      strict -
      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 -
      attribute -
      parser -
      strict -
      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 -
      attribute -
      parser -
      strict -
      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 -
      attribute -
      parser -
      strict -
      Returns:
      short
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • getTrimmedValue

      private String getTrimmedValue(String s)
      Method getTrimmedValue.
      Parameters:
      s -
      Returns:
      String
    • initParser

      private void initParser(org.codehaus.plexus.util.xml.pull.XmlPullParser parser) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method initParser.
      Parameters:
      parser -
      Throws:
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • 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
    • parseActivation

      private org.apache.maven.model.Activation parseActivation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseActivation.
      Parameters:
      parser -
      strict -
      Returns:
      Activation
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseActivationFile

      private org.apache.maven.model.ActivationFile parseActivationFile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseActivationFile.
      Parameters:
      parser -
      strict -
      Returns:
      ActivationFile
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseActivationOS

      private org.apache.maven.model.ActivationOS parseActivationOS(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseActivationOS.
      Parameters:
      parser -
      strict -
      Returns:
      ActivationOS
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseActivationProperty

      private org.apache.maven.model.ActivationProperty parseActivationProperty(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseActivationProperty.
      Parameters:
      parser -
      strict -
      Returns:
      ActivationProperty
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseBuild

      private org.apache.maven.model.Build parseBuild(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseBuild.
      Parameters:
      parser -
      strict -
      Returns:
      Build
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseBuildBase

      private org.apache.maven.model.BuildBase parseBuildBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseBuildBase.
      Parameters:
      parser -
      strict -
      Returns:
      BuildBase
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseCiManagement

      private org.apache.maven.model.CiManagement parseCiManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseCiManagement.
      Parameters:
      parser -
      strict -
      Returns:
      CiManagement
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseConfigurationContainer

      private org.apache.maven.model.ConfigurationContainer parseConfigurationContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseConfigurationContainer.
      Parameters:
      parser -
      strict -
      Returns:
      ConfigurationContainer
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseContributor

      private org.apache.maven.model.Contributor parseContributor(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseContributor.
      Parameters:
      parser -
      strict -
      Returns:
      Contributor
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseDependency

      private org.apache.maven.model.Dependency parseDependency(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseDependency.
      Parameters:
      parser -
      strict -
      Returns:
      Dependency
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseDependencyManagement

      private org.apache.maven.model.DependencyManagement parseDependencyManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseDependencyManagement.
      Parameters:
      parser -
      strict -
      Returns:
      DependencyManagement
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseDeploymentRepository

      private org.apache.maven.model.DeploymentRepository parseDeploymentRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseDeploymentRepository.
      Parameters:
      parser -
      strict -
      Returns:
      DeploymentRepository
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseDeveloper

      private org.apache.maven.model.Developer parseDeveloper(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseDeveloper.
      Parameters:
      parser -
      strict -
      Returns:
      Developer
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseDistributionManagement

      private org.apache.maven.model.DistributionManagement parseDistributionManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseDistributionManagement.
      Parameters:
      parser -
      strict -
      Returns:
      DistributionManagement
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseExclusion

      private org.apache.maven.model.Exclusion parseExclusion(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseExclusion.
      Parameters:
      parser -
      strict -
      Returns:
      Exclusion
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseExtension

      private org.apache.maven.model.Extension parseExtension(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseExtension.
      Parameters:
      parser -
      strict -
      Returns:
      Extension
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseFileSet

      private org.apache.maven.model.FileSet parseFileSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseFileSet.
      Parameters:
      parser -
      strict -
      Returns:
      FileSet
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseIssueManagement

      private org.apache.maven.model.IssueManagement parseIssueManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseIssueManagement.
      Parameters:
      parser -
      strict -
      Returns:
      IssueManagement
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseLicense

      private org.apache.maven.model.License parseLicense(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseLicense.
      Parameters:
      parser -
      strict -
      Returns:
      License
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseMailingList

      private org.apache.maven.model.MailingList parseMailingList(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseMailingList.
      Parameters:
      parser -
      strict -
      Returns:
      MailingList
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseModel

      private org.apache.maven.model.Model parseModel(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseModel.
      Parameters:
      parser -
      strict -
      Returns:
      Model
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseModelBase

      private org.apache.maven.model.ModelBase parseModelBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseModelBase.
      Parameters:
      parser -
      strict -
      Returns:
      ModelBase
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseNotifier

      private org.apache.maven.model.Notifier parseNotifier(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseNotifier.
      Parameters:
      parser -
      strict -
      Returns:
      Notifier
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseOrganization

      private org.apache.maven.model.Organization parseOrganization(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseOrganization.
      Parameters:
      parser -
      strict -
      Returns:
      Organization
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseParent

      private org.apache.maven.model.Parent parseParent(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseParent.
      Parameters:
      parser -
      strict -
      Returns:
      Parent
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePatternSet

      private org.apache.maven.model.PatternSet parsePatternSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePatternSet.
      Parameters:
      parser -
      strict -
      Returns:
      PatternSet
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePlugin

      private org.apache.maven.model.Plugin parsePlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePlugin.
      Parameters:
      parser -
      strict -
      Returns:
      Plugin
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePluginConfiguration

      private org.apache.maven.model.PluginConfiguration parsePluginConfiguration(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePluginConfiguration.
      Parameters:
      parser -
      strict -
      Returns:
      PluginConfiguration
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePluginContainer

      private org.apache.maven.model.PluginContainer parsePluginContainer(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePluginContainer.
      Parameters:
      parser -
      strict -
      Returns:
      PluginContainer
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePluginExecution

      private org.apache.maven.model.PluginExecution parsePluginExecution(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePluginExecution.
      Parameters:
      parser -
      strict -
      Returns:
      PluginExecution
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePluginManagement

      private org.apache.maven.model.PluginManagement parsePluginManagement(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePluginManagement.
      Parameters:
      parser -
      strict -
      Returns:
      PluginManagement
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parsePrerequisites

      private org.apache.maven.model.Prerequisites parsePrerequisites(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parsePrerequisites.
      Parameters:
      parser -
      strict -
      Returns:
      Prerequisites
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseProfile

      private org.apache.maven.model.Profile parseProfile(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseProfile.
      Parameters:
      parser -
      strict -
      Returns:
      Profile
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseRelocation

      private org.apache.maven.model.Relocation parseRelocation(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseRelocation.
      Parameters:
      parser -
      strict -
      Returns:
      Relocation
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseReportPlugin

      private org.apache.maven.model.ReportPlugin parseReportPlugin(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseReportPlugin.
      Parameters:
      parser -
      strict -
      Returns:
      ReportPlugin
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseReportSet

      private org.apache.maven.model.ReportSet parseReportSet(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseReportSet.
      Parameters:
      parser -
      strict -
      Returns:
      ReportSet
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseReporting

      private org.apache.maven.model.Reporting parseReporting(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseReporting.
      Parameters:
      parser -
      strict -
      Returns:
      Reporting
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseRepository

      private org.apache.maven.model.Repository parseRepository(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseRepository.
      Parameters:
      parser -
      strict -
      Returns:
      Repository
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseRepositoryBase

      private org.apache.maven.model.RepositoryBase parseRepositoryBase(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseRepositoryBase.
      Parameters:
      parser -
      strict -
      Returns:
      RepositoryBase
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseRepositoryPolicy

      private org.apache.maven.model.RepositoryPolicy parseRepositoryPolicy(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseRepositoryPolicy.
      Parameters:
      parser -
      strict -
      Returns:
      RepositoryPolicy
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseResource

      private org.apache.maven.model.Resource parseResource(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseResource.
      Parameters:
      parser -
      strict -
      Returns:
      Resource
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseScm

      private org.apache.maven.model.Scm parseScm(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseScm.
      Parameters:
      parser -
      strict -
      Returns:
      Scm
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • parseSite

      private org.apache.maven.model.Site parseSite(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method parseSite.
      Parameters:
      parser -
      strict -
      Returns:
      Site
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • read

      public org.apache.maven.model.Model read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Parameters:
      reader -
      strict -
      Returns:
      Model
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      See Also:
      • ReaderFactory.newXmlReader(java.io.InputStream)
    • read

      public org.apache.maven.model.Model read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Parameters:
      reader -
      Returns:
      Model
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
      See Also:
      • ReaderFactory.newXmlReader(java.io.InputStream)
    • read

      public org.apache.maven.model.Model read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method read.
      Parameters:
      in -
      strict -
      Returns:
      Model
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • read

      public org.apache.maven.model.Model read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method read.
      Parameters:
      in -
      Returns:
      Model
      Throws:
      IOException
      org.codehaus.plexus.util.xml.pull.XmlPullParserException
    • read

      private org.apache.maven.model.Model read(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
      Method read.
      Parameters:
      parser -
      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 -