Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jclark.xsl.sax2
Class TextOutputHandler

    java.lang.Object
      com.jclark.xsl.sax2.TextOutputHandler

All Implemented Interfaces:
  org.xml.sax.ContentHandler, OutputContentHandler

public class TextOutputHandler
extends java.lang.Object
implements OutputContentHandler

An object which serailizes SAX 2 events to raw text

Constructor Summary
`TextOutputHandler()`
`TextOutputHandler(java.io.Writer writer)`

Method Summary
`void` | `characters(char[] cbuf, int off, int len)`
`void` | `endDocument()`
`void` | `endElement(java.lang.String namespace, java.lang.String localName, java.lang.String qname)`
`void` | `endPrefixMapping(java.lang.String prefix)`
`void` | `ignorableWhitespace(char[] buf, int start, int len)`
`org.xml.sax.ContentHandler` | `init(Destination dest, java.util.Properties props)` Initialize the handler with the targetDestination and output method Properties (from xsl:output + calling environment)
`void` | `processingInstruction(java.lang.String target, java.lang.String value)`
`void` | `setDocumentLocator(org.xml.sax.Locator loc)`
`void` | `skippedEntity(java.lang.String name)`
`void` | `startDocument()`
`void` | `startElement(java.lang.String namespace, java.lang.String localName, java.lang.String qname, org.xml.sax.Attributes atts)`
`void` | `startPrefixMapping(java.lang.String prefix, java.lang.String namespace)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TextOutputHandler

    public TextOutputHandler()

### TextOutputHandler

    public TextOutputHandler(java.io.Writer writer)

Method Detail

### init

    public org.xml.sax.ContentHandler init(Destination dest,
                                           java.util.Properties props)
                                    throws java.io.IOException

  Description copied from interface: `OutputContentHandler`
  Initialize the handler with the targetDestination and output method Properties (from xsl:output + calling environment)

  Specified by:
    `init` in interface `OutputContentHandler`
  Parameters:
    `props` - output method parameters
  Throws:
    `java.io.IOException`

### startDocument

    public void startDocument()

  Specified by:
    `startDocument` in interface `org.xml.sax.ContentHandler`

### endDocument

    public void endDocument()
                     throws org.xml.sax.SAXException

  Specified by:
    `endDocument` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### characters

    public void characters(char[] cbuf,
                           int off,
                           int len)
                    throws org.xml.sax.SAXException

  Specified by:
    `characters` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### startElement

    public void startElement(java.lang.String namespace,
                             java.lang.String localName,
                             java.lang.String qname,
                             org.xml.sax.Attributes atts)

  Specified by:
    `startElement` in interface `org.xml.sax.ContentHandler`

### endElement

    public void endElement(java.lang.String namespace,
                           java.lang.String localName,
                           java.lang.String qname)

  Specified by:
    `endElement` in interface `org.xml.sax.ContentHandler`

### setDocumentLocator

    public void setDocumentLocator(org.xml.sax.Locator loc)

  Specified by:
    `setDocumentLocator` in interface `org.xml.sax.ContentHandler`

### skippedEntity

    public void skippedEntity(java.lang.String name)

  Specified by:
    `skippedEntity` in interface `org.xml.sax.ContentHandler`

### startPrefixMapping

    public void startPrefixMapping(java.lang.String prefix,
                                   java.lang.String namespace)

  Specified by:
    `startPrefixMapping` in interface `org.xml.sax.ContentHandler`

### endPrefixMapping

    public void endPrefixMapping(java.lang.String prefix)

  Specified by:
    `endPrefixMapping` in interface `org.xml.sax.ContentHandler`

### processingInstruction

    public void processingInstruction(java.lang.String target,
                                      java.lang.String value)

  Specified by:
    `processingInstruction` in interface `org.xml.sax.ContentHandler`

### ignorableWhitespace

    public void ignorableWhitespace(char[] buf,
                                    int start,
                                    int len)

  Specified by:
    `ignorableWhitespace` in interface `org.xml.sax.ContentHandler`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD