|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.generator.configuration.mergepoint.MergepointSaxHandler
public class MergepointSaxHandler
A SAX Handler which processes a mergepoint configuration in an outlet.
Constructor Summary | |
---|---|
MergepointSaxHandler(ConfigurationProvider configurationProvider,
ProjectPaths projectPaths,
ConfigurationHandlers configurationHandlers)
Constructor. |
Method Summary | |
---|---|
void |
endElement(String uri,
String localName,
String qName)
Callback method which is called by the SAX parser if an XML element is ended. |
MergepointMapping |
getMergepointMapping()
Returns the mergepointMapping configured by this SaxHandler. |
boolean |
isFinished()
Returns whether the parser has finished parsing the mergepoint tag. |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Callback method which is called by the SAX parser if an XML element is started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MergepointSaxHandler(ConfigurationProvider configurationProvider, ProjectPaths projectPaths, ConfigurationHandlers configurationHandlers)
configurationProvider
- The access object for the configuration
files, not null.projectPaths
- The paths of the surrounding project, not null.configurationHandlers
- the available configuration handlers,
not null.
NullPointerException
- if an argument is null.Method Detail |
---|
public MergepointMapping getMergepointMapping()
IllegalStateException
- if the mergepoint tag has not been
processed completely.public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
uri
- The namespace URI of the started element,
or the empty string if the element has no namespace URI
or if namespace processing is not being performed.localName
- The local name (without prefix), or
the empty string if Namespace processing is not being performed.qName
- The qualified name (with prefix, if present),
or the empty string if qualified names are not available.attributes
- The attributes attached to the element.
SAXException
- if an error occurs during parsing.ContentHandler.startElement(String, String, String, Attributes)
public void endElement(String uri, String localName, String qName)
uri
- The namespace URI of the ended element,
or the empty string if the element has no namespace URI
or if namespace processing is not being performed.localName
- The local name (without prefix), or
the empty string if Namespace processing is not being performed.qName
- The qualified name (with prefix, if present),
or the empty string if qualified names are not available.ContentHandler.endElement(String, String, String)
public boolean isFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |