com.servingxml.components.inverserecordmapping
Class SubtreeRecordReaderFactory

java.lang.Object
  extended by com.servingxml.components.recordio.AbstractRecordReaderFactory
      extended by com.servingxml.components.inverserecordmapping.SubtreeRecordReaderFactory
All Implemented Interfaces:
Content, RecordFilterAppender, RecordPipelineAppender, RecordReaderFactory, Stringable

public class SubtreeRecordReaderFactory
extends AbstractRecordReaderFactory
implements RecordReaderFactory, RecordFilterAppender, Content

Implements an interface for a RecordFilterAppender and a Content.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.servingxml.components.string.Stringable
Stringable.EmptyStringable
 
Field Summary
 
Fields inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
EMPTY_ARRAY
 
Fields inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
EMPTY_ARRAY
 
Fields inherited from interface com.servingxml.components.content.Content
EMPTY_ARRAY
 
Fields inherited from interface com.servingxml.components.string.Stringable
EMPTY
 
Constructor Summary
SubtreeRecordReaderFactory(Content[] xmlComponents, OutputPropertyFactory[] defaultOutputPropertyFactories, InverseRecordMapping inverseRecordMapping)
           
 
Method Summary
 void appendToXmlPipeline(ServiceContext context, Flow flow, XmlFilterChain pipeline)
           
protected  RecordReader createRecordReader(ServiceContext context, Flow flow)
           
 SaxSource createSaxSource(ServiceContext context, Flow flow)
           
 java.lang.String createString(ServiceContext context, Flow flow)
           
 XmlPipeline createXmlPipeline(ServiceContext context, Flow flow)
           
 void execute(ServiceContext context, Flow flow)
           
 
Methods inherited from class com.servingxml.components.recordio.AbstractRecordReaderFactory
appendToRecordPipeline, createRecordPipeline
 
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.RecordPipelineAppender
appendToRecordPipeline, createRecordPipeline
 
Methods inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
appendToRecordPipeline, createRecordPipeline
 

Constructor Detail

SubtreeRecordReaderFactory

public SubtreeRecordReaderFactory(Content[] xmlComponents,
                                  OutputPropertyFactory[] defaultOutputPropertyFactories,
                                  InverseRecordMapping inverseRecordMapping)
Method Detail

appendToXmlPipeline

public void appendToXmlPipeline(ServiceContext context,
                                Flow flow,
                                XmlFilterChain pipeline)
Specified by:
appendToXmlPipeline in interface Content

createRecordReader

protected RecordReader createRecordReader(ServiceContext context,
                                          Flow flow)
Specified by:
createRecordReader in class AbstractRecordReaderFactory

createSaxSource

public SaxSource createSaxSource(ServiceContext context,
                                 Flow flow)
Specified by:
createSaxSource in interface Content

createXmlPipeline

public XmlPipeline createXmlPipeline(ServiceContext context,
                                     Flow flow)
Specified by:
createXmlPipeline in interface Content

createString

public java.lang.String createString(ServiceContext context,
                                     Flow flow)
Specified by:
createString in interface Stringable

execute

public void execute(ServiceContext context,
                    Flow flow)