com.servingxml.components.content
Class EmptyDocument

java.lang.Object
  extended by com.servingxml.components.content.AbstractContent
      extended by com.servingxml.components.content.EmptyDocument
All Implemented Interfaces:
Content, Stringable

public class EmptyDocument
extends AbstractContent
implements Content

A EmptyDocument instance may be used to obtain objects that supply XML content as an input stream.


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.content.Content
EMPTY_ARRAY
 
Fields inherited from interface com.servingxml.components.string.Stringable
EMPTY
 
Constructor Summary
EmptyDocument(OutputPropertyFactory[] defaultOutputProperties)
           
 
Method Summary
 void appendToXmlPipeline(ServiceContext context, Flow flow, XmlFilterChain pipeline)
           
 SaxSource createSaxSource(ServiceContext context, Flow flow)
           
 XmlPipeline createXmlPipeline(ServiceContext context, Flow flow)
           
 
Methods inherited from class com.servingxml.components.content.AbstractContent
createDefaultOutputProperties, createString, execute
 
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.string.Stringable
createString
 

Constructor Detail

EmptyDocument

public EmptyDocument(OutputPropertyFactory[] defaultOutputProperties)
Method Detail

createSaxSource

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

appendToXmlPipeline

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

createXmlPipeline

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