org.odftoolkit.odfdom.pkg
Class OdfFileSaxHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.odftoolkit.odfdom.pkg.OdfFileSaxHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class OdfFileSaxHandler
- extends DefaultHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument in interface ContentHandler- Overrides:
startDocument in class DefaultHandler
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument in interface ContentHandler- Overrides:
endDocument in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
- Throws:
SAXException
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws IOException,
SAXException
- Specified by:
resolveEntity in interface EntityResolver- Overrides:
resolveEntity in class DefaultHandler
- Throws:
IOException
SAXException
setSink
public void setSink(JenaSink sink)
- Set the JenaSink object.
- Parameters:
sink -
Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.