org.apache.ivy.plugins.parser.xml
public class XmlModuleDescriptorParser extends AbstractModuleDescriptorParser
Nested Class Summary | |
---|---|
static class | XmlModuleDescriptorParser.Parser |
Constructor Summary | |
---|---|
protected | XmlModuleDescriptorParser() |
Method Summary | |
---|---|
boolean | accept(Resource res) |
static XmlModuleDescriptorParser | getInstance() |
protected XmlModuleDescriptorParser.Parser | newParser(ParserSettings ivySettings)
Instantiates a Parser instance responsible for actual parsing of Ivy files.
|
ModuleDescriptor | parseDescriptor(ParserSettings ivySettings, URL xmlURL, Resource res, boolean validate) |
void | toIvyFile(InputStream is, Resource res, File destFile, ModuleDescriptor md) |
String | toString() |
Override this method if you want to use a custom Parser.
Parameters: ivySettings the settings to use during parsing
Returns: the Parser instance used for parsing Ivy files
Parameters: settings xmlURL the url pointing to the file to parse res the real resource to parse, used for log only validate
Returns:
Throws: ParseException IOException