Package org.apache.ivy.plugins.parser
Class AbstractModuleDescriptorParser.AbstractParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser.AbstractParser
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
XmlModuleDescriptorParser.Parser
- Enclosing class:
- AbstractModuleDescriptorParser
protected abstract static class AbstractModuleDescriptorParser.AbstractParser
extends DefaultHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
void
void
protected String
protected String
protected DependencyDescriptor
protected Date
protected DefaultModuleDescriptor
getMd()
protected Resource
protected void
parseDepsConfs
(String[] conf, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand) protected void
parseDepsConfs
(String[] confs, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand, boolean evaluateConditions) protected void
parseDepsConfs
(String confs, DefaultDependencyDescriptor dd) protected void
parseDepsConfs
(String confs, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand) protected void
parseDepsConfs
(String confs, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand, boolean evaluateConditions) protected void
setDefaultConf
(String defaultConf) protected void
setDefaultConfMapping
(String defaultConf) protected void
void
setResource
(Resource res) void
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
AbstractParser
-
-
Method Details
-
getModuleDescriptorParser
-
checkErrors
- Throws:
ParseException
-
setResource
-
getResource
-
getDefaultConfMapping
-
setDefaultConfMapping
-
parseDepsConfs
-
parseDepsConfs
protected void parseDepsConfs(String confs, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand) -
parseDepsConfs
protected void parseDepsConfs(String confs, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand, boolean evaluateConditions) -
parseDepsConfs
protected void parseDepsConfs(String[] conf, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand) -
parseDepsConfs
protected void parseDepsConfs(String[] confs, DefaultDependencyDescriptor dd, boolean useDefaultMappingToGuessRightOperand, boolean evaluateConditions) -
getDefaultConfMappingDescriptor
-
addError
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Overrides:
warning
in classDefaultHandler
-
error
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Overrides:
fatalError
in classDefaultHandler
- Throws:
SAXException
-
getDefaultConf
-
setDefaultConf
-
getModuleDescriptor
- Throws:
ParseException
-
getDefaultPubDate
-
setMd
-
getMd
-