Class OptionsSaxHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.torque.generator.configuration.option.OptionsSaxHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Direct Known Subclasses:
FileOptionsSaxHandler
A SAX handler for reading the options tag in the control configuration.
$Id: OptionsSaxHandler.java 1917241 2024-04-21 13:29:41Z tv $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the options configuration read by this SAX handler.booleanReturns whether the SAX handler has finished reading the options configuration.Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
OptionsSaxHandler
Constructor.- Parameters:
optionsConfiguration- the OptionsConfiguration to be filled, not null.
-
-
Method Details
-
getOptionsConfiguration
Returns the options configuration read by this SAX handler.- Returns:
- the options configuration, not null.
- Throws:
IllegalStateException- if the SAX handler has not yet finished reading the configuration.
-
isFinished
public boolean isFinished()Returns whether the SAX handler has finished reading the options configuration.- Returns:
- true if whether the SAX handler has finished, false otherwise.
-