|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.tika.sax.ContentHandlerDecorator org.apache.tika.sax.BodyContentHandler
public class BodyContentHandler
Content handler decorator that only passes everything inside the XHTML <body/> tag to the underlying handler. Note that the <body/> tag itself is not passed on.
Constructor Summary | |
---|---|
BodyContentHandler()
Creates a content handler that writes XHTML body character events to an internal string buffer. |
|
BodyContentHandler(org.xml.sax.ContentHandler handler)
Creates a content handler that passes all XHTML body events to the given underlying content handler. |
|
BodyContentHandler(java.io.OutputStream stream)
Creates a content handler that writes XHTML body character events to the given output stream using the default encoding. |
|
BodyContentHandler(java.io.Writer writer)
Creates a content handler that writes XHTML body character events to the given writer. |
Method Summary |
---|
Methods inherited from class org.apache.tika.sax.ContentHandlerDecorator |
---|
characters, endDocument, endElement, endPrefixMapping, handleException, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BodyContentHandler(org.xml.sax.ContentHandler handler)
handler
- content handlerpublic BodyContentHandler(java.io.Writer writer)
writer
- writerpublic BodyContentHandler(java.io.OutputStream stream)
stream
- output streampublic BodyContentHandler()
ContentHandlerDecorator.toString()
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |