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

## com.servingxml.components.inverserecordmapping
Class SubtreeRecordReader

    java.lang.Object
      com.servingxml.components.recordio.AbstractRecordReader
          com.servingxml.components.inverserecordmapping.SubtreeRecordReader

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

    public class SubtreeRecordReader

extends AbstractRecordReader
implements org.xml.sax.ContentHandler, RecordReader

Nested Class Summary

Nested classes/interfaces inherited from interface com.servingxml.components.recordio.RecordReader
`RecordReader.NullRecordReader`

Field Summary

Fields inherited from interface com.servingxml.components.recordio.RecordReader
`NULL`

Constructor Summary
`SubtreeRecordReader(XmlPipelineFactory pipelineFactory, java.util.Properties defaultOutputProperties, InverseRecordMapping inverseRecordMapping)`

Method Summary
`void` | `characters(char[] ch, int start, int length)`
`void` | `close()`
`void` | `endDocument()`
`void` | `endElement(java.lang.String namespaceUri, java.lang.String localName, java.lang.String qname)`
`void` | `endPrefixMapping(java.lang.String prefix)`
`void` | `error(org.xml.sax.SAXParseException exception)`
`void` | `fatalError(org.xml.sax.SAXParseException exception)`
`RecordWriter` | `getDiscardWriter()`
`Expirable` | `getExpirable()`
`Key` | `getKey()`
`RecordWriter` | `getRecordWriter()`
`void` | `ignorableWhitespace(char[] ch, int start, int length)`
`void` | `processingInstruction(java.lang.String target, java.lang.String data)`
`void` | `readRecords(ServiceContext context, Flow flow)`
`void` | `setDiscardWriter(RecordWriter discardWriter)`
`void` | `setDocumentLocator(org.xml.sax.Locator locator)`
`void` | `setRecordWriter(RecordWriter recordWriter)`
`void` | `skippedEntity(java.lang.String name)`
`void` | `startDocument()`
`void` | `startElement(java.lang.String namespaceUri, java.lang.String localName, java.lang.String qname, org.xml.sax.Attributes atts)`
`void` | `startPrefixMapping(java.lang.String prefix, java.lang.String uri)`
`void` | `warning(org.xml.sax.SAXParseException exception)`

Methods inherited from class com.servingxml.components.recordio.AbstractRecordReader
`discardRecord, endRecordStream, startRecordStream, writeRecord`

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

Methods inherited from interface com.servingxml.components.recordio.RecordReader
`discardRecord`

Constructor Detail

### SubtreeRecordReader

    public SubtreeRecordReader(XmlPipelineFactory pipelineFactory,
                               java.util.Properties defaultOutputProperties,
                               InverseRecordMapping inverseRecordMapping)

Method Detail

### getRecordWriter

    public RecordWriter getRecordWriter()

  Specified by:
    `getRecordWriter` in interface `RecordReader`
  Overrides:
    `getRecordWriter` in class `AbstractRecordReader`

### setRecordWriter

    public void setRecordWriter(RecordWriter recordWriter)

  Specified by:
    `setRecordWriter` in interface `RecordReader`
  Overrides:
    `setRecordWriter` in class `AbstractRecordReader`

### getDiscardWriter

    public RecordWriter getDiscardWriter()

  Specified by:
    `getDiscardWriter` in interface `RecordReader`
  Overrides:
    `getDiscardWriter` in class `AbstractRecordReader`

### setDiscardWriter

    public void setDiscardWriter(RecordWriter discardWriter)

  Specified by:
    `setDiscardWriter` in interface `RecordReader`
  Overrides:
    `setDiscardWriter` in class `AbstractRecordReader`

### close

    public void close()

  Overrides:
    `close` in class `AbstractRecordReader`

### getKey

    public Key getKey()

  Specified by:
    `getKey` in interface `RecordReader`
  Overrides:
    `getKey` in class `AbstractRecordReader`

### getExpirable

    public Expirable getExpirable()

  Specified by:
    `getExpirable` in interface `RecordReader`
  Overrides:
    `getExpirable` in class `AbstractRecordReader`

### readRecords

    public void readRecords(ServiceContext context,
                            Flow flow)

  Specified by:
    `readRecords` in interface `RecordReader`

### startDocument

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

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

### endDocument

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

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

### startElement

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

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

### characters

    public void characters(char[] ch,
                           int start,
                           int length)
                    throws org.xml.sax.SAXException

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

### endElement

    public void endElement(java.lang.String namespaceUri,
                           java.lang.String localName,
                           java.lang.String qname)
                    throws org.xml.sax.SAXException

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

### setDocumentLocator

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

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

### startPrefixMapping

    public void startPrefixMapping(java.lang.String prefix,
                                   java.lang.String uri)
                            throws org.xml.sax.SAXException

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

### endPrefixMapping

    public void endPrefixMapping(java.lang.String prefix)
                          throws org.xml.sax.SAXException

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

### ignorableWhitespace

    public void ignorableWhitespace(char[] ch,
                                    int start,
                                    int length)
                             throws org.xml.sax.SAXException

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

### processingInstruction

    public void processingInstruction(java.lang.String target,
                                      java.lang.String data)
                               throws org.xml.sax.SAXException

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

### skippedEntity

    public void skippedEntity(java.lang.String name)
                       throws org.xml.sax.SAXException

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

### warning

    public void warning(org.xml.sax.SAXParseException exception)
                 throws org.xml.sax.SAXException

  Throws:
    `org.xml.sax.SAXException`

### error

    public void error(org.xml.sax.SAXParseException exception)
               throws org.xml.sax.SAXException

  Throws:
    `org.xml.sax.SAXException`

### fatalError

    public void fatalError(org.xml.sax.SAXParseException exception)
                    throws org.xml.sax.SAXException

  Throws:
    `org.xml.sax.SAXException`

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