edu.stanford.nlp.process
Class TransformXML.NoEscapingSAXInterface<T>

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by edu.stanford.nlp.process.TransformXML.SAXInterface<T>
          extended by edu.stanford.nlp.process.TransformXML.NoEscapingSAXInterface<T>
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
TransformXML<T>

public static class TransformXML.NoEscapingSAXInterface<T>
extends TransformXML.SAXInterface<T>

This version of the SAXInterface doesn't escape the text produced by the function. This is useful in the case where the function already produces well-formed XML. One example of this is the Tagger, which already escapes the inner text and produces xml tags around the words.


Field Summary
 
Fields inherited from class edu.stanford.nlp.process.TransformXML.SAXInterface
depth, elementsToBeTransformed, function, outWriter, textToBeTransformed
 
Constructor Summary
TransformXML.NoEscapingSAXInterface()
           
 
Method Summary
 void processText(String text)
           
 
Methods inherited from class edu.stanford.nlp.process.TransformXML.SAXInterface
characters, endDocument, endElement, startElement
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
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
 

Constructor Detail

TransformXML.NoEscapingSAXInterface

public TransformXML.NoEscapingSAXInterface()
Method Detail

processText

public void processText(String text)
Overrides:
processText in class TransformXML.SAXInterface<T>


Stanford NLP Group