Package net.sf.antcontrib.cpptasks
Class TargetHistoryTable.TargetHistoryTableHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.sf.antcontrib.cpptasks.TargetHistoryTable.TargetHistoryTableHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
TargetHistoryTable
This class handles populates the TargetHistory hashtable in response to
SAX parse events
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTargetHistoryTableHandler(Hashtable history, File baseDir) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String namespaceURI, String localName, String qName) voidstartElement(String namespaceURI, String localName, String qName, Attributes atts) startElement handlerMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, 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
-
Field Details
-
baseDir
-
config
-
history
-
output
-
outputLastModified
private long outputLastModified -
sources
-
-
Constructor Details
-
TargetHistoryTableHandler
Constructor- Parameters:
history- hashtable of TargetHistory keyed by output nameoutputFiles- existing files in output directory
-
-
Method Details
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException startElement handler- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-