de.l3s.boilerpipe.sax
Class BoilerpipeSAXInput

java.lang.Object
  extended by de.l3s.boilerpipe.sax.BoilerpipeSAXInput
All Implemented Interfaces:
BoilerpipeInput

public final class BoilerpipeSAXInput
extends java.lang.Object
implements BoilerpipeInput

Parses an InputSource using SAX and returns a TextDocument.

Author:
Christian Kohlschütter

Constructor Summary
BoilerpipeSAXInput(org.xml.sax.InputSource is)
          Creates a new instance of BoilerpipeSAXInput for the given InputSource.
 
Method Summary
 TextDocument getTextDocument()
          Returns (somehow) a TextDocument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoilerpipeSAXInput

public BoilerpipeSAXInput(org.xml.sax.InputSource is)
                   throws org.xml.sax.SAXException
Creates a new instance of BoilerpipeSAXInput for the given InputSource.

Parameters:
is -
Throws:
org.xml.sax.SAXException
Method Detail

getTextDocument

public TextDocument getTextDocument()
                             throws BoilerpipeProcessingException
Description copied from interface: BoilerpipeInput
Returns (somehow) a TextDocument.

Specified by:
getTextDocument in interface BoilerpipeInput
Returns:
A TextDocument.
Throws:
BoilerpipeProcessingException