ModuleDescriptorParser
ModuleDescriptorParserRegistry
, XmlModuleDescriptorParser
public 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, toIvyFile
public ModuleDescriptor parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate) throws java.text.ParseException, java.io.IOException
parseDescriptor
in interface ModuleDescriptorParser
java.text.ParseException
java.io.IOException
public java.lang.String getType()
ModuleDescriptorParser
getType
in interface ModuleDescriptorParser
public Artifact getMetadataArtifact(ModuleRevisionId mrid, Resource res)
ModuleDescriptorParser
getMetadataArtifact
in interface ModuleDescriptorParser
mrid
- the module revision id for which the module artifact should be returnedres
- the resource for which the module artifact should be returned