Package org.odftoolkit.odfdom.changes
Class ChangesFileSaxHandler
- java.lang.Object
- 
- org.xml.sax.helpers.DefaultHandler
- 
- org.odftoolkit.odfdom.pkg.OdfFileSaxHandler
- 
- org.odftoolkit.odfdom.changes.ChangesFileSaxHandler
 
 
 
- 
- All Implemented Interfaces:
- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
 
 public class ChangesFileSaxHandler extends OdfFileSaxHandler - Author:
- svante.schubertATgmail.com
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringCOMMENT_PREFIXstatic StringCONTEXT_DELIMITER- 
Fields inherited from class org.odftoolkit.odfdom.pkg.OdfFileSaxHandlermCurrentNode
 
- 
 - 
Constructor SummaryConstructors Constructor Description ChangesFileSaxHandler(Node rootNode)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcacheOperation(boolean fillCacheOnly, String componentType, List<Integer> start, boolean absolutePosition, Map<String,Object> hardFormattingProperties, Object... componentProperties)voidcharacters(char[] ch, int startPosition, int length)voidendDocument()voidendElement(String uri, String localName, String qName)InputSourceresolveEntity(String publicId, String systemId)voidstartDocument()voidstartElement(String uri, String localName, String qName, Attributes attributes)- 
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfFileSaxHandlerflushTextNode, setContextNode, setSink
 - 
Methods inherited from class org.xml.sax.helpers.DefaultHandlerendPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
- 
 
- 
- 
- 
Field Detail- 
COMMENT_PREFIXpublic static String COMMENT_PREFIX 
 - 
CONTEXT_DELIMITERpublic static final String CONTEXT_DELIMITER - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
ChangesFileSaxHandlerpublic ChangesFileSaxHandler(Node rootNode) throws SAXException - Throws:
- SAXException
 
 
- 
 - 
Method Detail- 
startDocumentpublic void startDocument() throws SAXException- Specified by:
- startDocumentin interface- ContentHandler
- Overrides:
- startDocumentin class- OdfFileSaxHandler
- Throws:
- SAXException
 
 - 
endDocumentpublic void endDocument() throws SAXException- Specified by:
- endDocumentin interface- ContentHandler
- Overrides:
- endDocumentin class- OdfFileSaxHandler
- Throws:
- SAXException
 
 - 
startElementpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- OdfFileSaxHandler
- Throws:
- SAXException
 
 - 
endElementpublic void endElement(String uri, String localName, String qName) throws SAXException - Specified by:
- endElementin interface- ContentHandler
- Overrides:
- endElementin class- OdfFileSaxHandler
- Throws:
- SAXException
 
 - 
characterspublic void characters(char[] ch, int startPosition, int length)- Specified by:
- charactersin interface- ContentHandler
- Overrides:
- charactersin class- OdfFileSaxHandler
 
 - 
resolveEntitypublic InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException - Specified by:
- resolveEntityin interface- EntityResolver
- Overrides:
- resolveEntityin class- OdfFileSaxHandler
- Throws:
- IOException
- SAXException
 
 
- 
 
-