com.servingxml.components.content
Class DocumentCollection
java.lang.Object
com.servingxml.components.content.DocumentCollection
- All Implemented Interfaces:
- Content, Stringable
public class DocumentCollection
- extends java.lang.Object
- implements Content
A DocumentCollection
instance may be used to obtain objects that
supply XML content as an input stream.
Fields inherited from interface com.servingxml.components.string.Stringable |
EMPTY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentCollection
public DocumentCollection(QnameContext nameContext,
NameSubstitutionExpr documentElementNameEvaluator,
Content[] contentFactories)
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
appendToXmlPipeline
public void appendToXmlPipeline(ServiceContext context,
Flow flow,
XmlFilterChain pipeline)
- Specified by:
appendToXmlPipeline
in interface Content
execute
public void execute(ServiceContext context,
Flow flow)