|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.torque.generator.configuration.source.SourceTransformerSaxHandler
public class SourceTransformerSaxHandler
Reads a source transformer from the controller configuration file.
Constructor Summary | |
---|---|
SourceTransformerSaxHandler(ConfigurationProvider configurationProvider,
ProjectPaths projectPaths)
Constructor. |
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(String uri,
String localName,
String rawName)
|
String |
getElements()
Returns the path to source elements to which the transformer is applied. |
SourceTransformer |
getSourceTransformer()
Returns the configuration filled with the contents of the parsed snippet. |
boolean |
isFinished()
Returns the configuration filled with the contents of the parsed snippet. |
void |
startElement(String uri,
String localName,
String rawName,
Attributes attributes)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceTransformerSaxHandler(ConfigurationProvider configurationProvider, ProjectPaths projectPaths)
configurationProvider
- The access object for the configuration
files, not null.projectPaths
- The paths of the surrounding project, not null.
NullPointerException
- if an argument is null.Method Detail |
---|
public void startElement(String uri, String localName, String rawName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String rawName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public SourceTransformer getSourceTransformer()
public String getElements()
public boolean isFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |