ModuleDescriptorParserModuleDescriptorParserRegistry, XmlModuleDescriptorParserpublic abstract class AbstractModuleDescriptorParser extends java.lang.Object implements ModuleDescriptorParser
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
AbstractModuleDescriptorParser.AbstractParser |
| Constructor | Description |
|---|---|
AbstractModuleDescriptorParser() |
| Modifier and Type | Method | Description |
|---|---|---|
Artifact |
getMetadataArtifact(ModuleRevisionId mrid,
Resource res) |
Returns the module metadata artifact corresponding to the given module revision id that this
parser parses
|
java.lang.String |
getType() |
Return the 'type' of module artifacts this parser is parsing
|
ModuleDescriptor |
parseDescriptor(ParserSettings ivySettings,
java.net.URL descriptorURL,
boolean validate) |
accept, parseDescriptor, toIvyFilepublic ModuleDescriptor parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate) throws java.text.ParseException, java.io.IOException
parseDescriptor in interface ModuleDescriptorParserjava.text.ParseExceptionjava.io.IOExceptionpublic java.lang.String getType()
ModuleDescriptorParsergetType in interface ModuleDescriptorParserpublic Artifact getMetadataArtifact(ModuleRevisionId mrid, Resource res)
ModuleDescriptorParsergetMetadataArtifact in interface ModuleDescriptorParsermrid - the module revision id for which the module artifact should be returnedres - the resource for which the module artifact should be returned