org.apache.ivy.plugins.parser.xml

Class XmlModuleDescriptorParser.Parser

public static class XmlModuleDescriptorParser.Parser extends AbstractParser

Nested Class Summary
static classXmlModuleDescriptorParser.Parser.State
Field Summary
protected static ListALLOWED_VERSIONS
Constructor Summary
Parser(ModuleDescriptorParser parser, ParserSettings ivySettings)
Method Summary
protected voidaddConfiguration(String c)
protected voidaddDependencyArtifacts(String tag, Attributes attributes)
protected voidaddExcludeRule(String tag, Attributes attributes)
protected voidaddIncludeRule(String tag, Attributes attributes)
protected voidartifactStarted(String qName, Attributes attributes)
voidcharacters(char[] ch, int start, int length)
protected voidcheckConfigurations()
protected voidconfigurationStarted(Attributes attributes)
protected voidconfStarted(Attributes attributes)
protected voiddependenciesStarted(Attributes attributes)
protected voiddependencyStarted(Attributes attributes)
voidendElement(String uri, String localName, String qName)
protected MDArtifactgetArtifact()
protected StringBuffergetBuffer()
protected StringgetConf()
protected ConfigurationAwaregetConfAware()
protected DefaultDependencyDescriptorgetDd()
protected PatternMatchergetDefaultMatcher()
protected InputStreamgetDescriptorInput()
protected URLgetDescriptorURL()
protected StringgetDescriptorVersion()
protected PatternMatchergetPatternMatcher(String m)
protected String[]getPublicationsDefaultConf()
protected URLgetSchemaURL()
protected ParserSettingsgetSettings()
protected intgetState()
protected voidincludeConfStarted(Attributes attributes)
protected voidinfoStarted(Attributes attributes)
protected booleanisArtifactsDeclared()
protected booleanisOtherNamespace(String qName)
protected booleanisValidate()
protected voidivyModuleStarted(Attributes attributes)
protected voidmanagerStarted(Attributes attributes, String managerAtt)
protected voidmediationOverrideStarted(Attributes attributes)
voidparse()
protected voidparseRule(String tag, Attributes attributes)
protected voidpublicationsStarted(Attributes attributes)
protected voidreplaceConfigurationWildcards()
protected voidsetArtifact(MDArtifact artifact)
protected voidsetArtifactsDeclared(boolean artifactsDeclared)
protected voidsetBuffer(StringBuffer buffer)
protected voidsetConf(String conf)
protected voidsetConfAware(ConfigurationAware confAware)
protected voidsetDd(DefaultDependencyDescriptor dd)
protected voidsetDescriptorVersion(String descriptorVersion)
voidsetInput(InputStream descriptorInput)
voidsetInput(URL descriptorURL)
protected voidsetPublicationsDefaultConf(String defaultConf)
protected voidsetPublicationsDefaultConf(String[] publicationsDefaultConf)
protected voidsetState(int state)
voidsetValidate(boolean validate)
voidstartElement(String uri, String localName, String qName, Attributes attributes)

Field Detail

ALLOWED_VERSIONS

protected static final List ALLOWED_VERSIONS

Constructor Detail

Parser

public Parser(ModuleDescriptorParser parser, ParserSettings ivySettings)

Method Detail

addConfiguration

protected void addConfiguration(String c)

addDependencyArtifacts

protected void addDependencyArtifacts(String tag, Attributes attributes)

addExcludeRule

protected void addExcludeRule(String tag, Attributes attributes)

addIncludeRule

protected void addIncludeRule(String tag, Attributes attributes)

artifactStarted

protected void artifactStarted(String qName, Attributes attributes)

characters

public void characters(char[] ch, int start, int length)

checkConfigurations

protected void checkConfigurations()

configurationStarted

protected void configurationStarted(Attributes attributes)

confStarted

protected void confStarted(Attributes attributes)

dependenciesStarted

protected void dependenciesStarted(Attributes attributes)

dependencyStarted

protected void dependencyStarted(Attributes attributes)

endElement

public void endElement(String uri, String localName, String qName)

getArtifact

protected MDArtifact getArtifact()

getBuffer

protected StringBuffer getBuffer()

getConf

protected String getConf()

getConfAware

protected ConfigurationAware getConfAware()

getDd

protected DefaultDependencyDescriptor getDd()

getDefaultMatcher

protected PatternMatcher getDefaultMatcher()

getDescriptorInput

protected InputStream getDescriptorInput()

getDescriptorURL

protected URL getDescriptorURL()

getDescriptorVersion

protected String getDescriptorVersion()

getPatternMatcher

protected PatternMatcher getPatternMatcher(String m)

getPublicationsDefaultConf

protected String[] getPublicationsDefaultConf()

getSchemaURL

protected URL getSchemaURL()

getSettings

protected ParserSettings getSettings()

getState

protected int getState()

includeConfStarted

protected void includeConfStarted(Attributes attributes)

infoStarted

protected void infoStarted(Attributes attributes)

isArtifactsDeclared

protected boolean isArtifactsDeclared()

isOtherNamespace

protected boolean isOtherNamespace(String qName)

isValidate

protected boolean isValidate()

ivyModuleStarted

protected void ivyModuleStarted(Attributes attributes)

managerStarted

protected void managerStarted(Attributes attributes, String managerAtt)

mediationOverrideStarted

protected void mediationOverrideStarted(Attributes attributes)

parse

public void parse()

parseRule

protected void parseRule(String tag, Attributes attributes)

publicationsStarted

protected void publicationsStarted(Attributes attributes)

replaceConfigurationWildcards

protected void replaceConfigurationWildcards()

setArtifact

protected void setArtifact(MDArtifact artifact)

setArtifactsDeclared

protected void setArtifactsDeclared(boolean artifactsDeclared)

setBuffer

protected void setBuffer(StringBuffer buffer)

setConf

protected void setConf(String conf)

setConfAware

protected void setConfAware(ConfigurationAware confAware)

setDd

protected void setDd(DefaultDependencyDescriptor dd)

setDescriptorVersion

protected void setDescriptorVersion(String descriptorVersion)

setInput

public void setInput(InputStream descriptorInput)

setInput

public void setInput(URL descriptorURL)

setPublicationsDefaultConf

protected void setPublicationsDefaultConf(String defaultConf)

setPublicationsDefaultConf

protected void setPublicationsDefaultConf(String[] publicationsDefaultConf)

setState

protected void setState(int state)

setValidate

public void setValidate(boolean validate)

startElement

public void startElement(String uri, String localName, String qName, Attributes attributes)