final class PluginScriptParser
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
PluginScriptParser(PluginDefinitionHandler handler,
JellyScriptHousing jellyScriptHousing)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(org.xml.sax.SAXParseException spe)
Error callback.
|
void |
fatalError(org.xml.sax.SAXParseException spe)
Fatal error callback.
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes attributes)
Handles opening elements of the xml file.
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
We are looking for namespace declarations like the following:
xmlns:doc="doc"
Here we know that the given plugin.jelly script (or any jelly script used
within Maven) has a dependency on the dyna tag lib named 'doc'.
|
void |
warning(org.xml.sax.SAXParseException spe)
Warning callback.
|
PluginScriptParser(PluginDefinitionHandler handler, JellyScriptHousing jellyScriptHousing)
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
startPrefixMapping in interface org.xml.sax.ContentHandlerstartPrefixMapping in class org.xml.sax.helpers.DefaultHandlerprefix - Prefix to be used in the jelly script.uri - Uri of the dyna tag lib.public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes attributes)
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerpublic void warning(org.xml.sax.SAXParseException spe)
warning in interface org.xml.sax.ErrorHandlerwarning in class org.xml.sax.helpers.DefaultHandlerspe - The parse exception that caused the callback to be invoked.public void error(org.xml.sax.SAXParseException spe)
error in interface org.xml.sax.ErrorHandlererror in class org.xml.sax.helpers.DefaultHandlerspe - The parse exception that caused the callback to be invoked.public void fatalError(org.xml.sax.SAXParseException spe)
fatalError in interface org.xml.sax.ErrorHandlerfatalError in class org.xml.sax.helpers.DefaultHandlerspe - The parse exception that caused the callback to be invoked.Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.