org.wdssii.core
Class SAXIndexHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.wdssii.core.SAXIndexHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class SAXIndexHandler
- extends DefaultHandler
- Author:
- lakshman
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 |
index
private Index index
item
private SAXIndexHandler.ElementHandler item
time
private SAXIndexHandler.ElementHandler time
params
private SAXIndexHandler.ElementHandler params
selections
private SAXIndexHandler.ElementHandler selections
all
private SAXIndexHandler.ElementHandler[] all
current
private SAXIndexHandler.ElementHandler current
frac
private String frac
SAXIndexHandler
public SAXIndexHandler(Index index)
reinit
private void reinit()
characters
public void characters(char[] buf,
int start,
int len)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qualifiedName)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qualifiedName,
Attributes atts)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
addRecord
private void addRecord()