org.apache.jackrabbit.core.query
Class OOoContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.jackrabbit.core.query.OOoContentHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class OOoContentHandler
- extends DefaultHandler
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 |
OOoContentHandler
public OOoContentHandler()
getContent
public String getContent()
- Returns the text content extracted from parsed content.xml
startElement
public void startElement(String namespaceURI,
String localName,
String rawName,
Attributes atts)
throws SAXException
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Throws:
SAXException
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.