Package com.xmlcalabash.io
Class DocumentReader
-
- All Implemented Interfaces:
public final class DocumentReader extends Marshaller
-
-
Field Summary
Fields Modifier and Type Field Description private final MediaClassification
outType
private final Map<QName, XdmValue>
params
private final XProcStepConfiguration
stepConfig
private final InputStream
stream
private final MediaType
contentType
private final URI
baseUri
private final DocumentContext
docContext
-
Constructor Summary
Constructors Constructor Description DocumentReader(XProcStepConfiguration stepConfig, InputStream stream, MediaType contentType, URI baseUri, Map<QName, XdmValue> param)
-
Method Summary
Modifier and Type Method Description final MediaClassification
getOutType()
final Map<QName, XdmValue>
getParams()
final XProcStepConfiguration
getStepConfig()
final InputStream
getStream()
final MediaType
getContentType()
final URI
getBaseUri()
final XdmValue
get(QName name)
final Unit
set(QName name, XdmValue value)
final Unit
set(QName name, String value)
final Unit
set(QName name, Boolean value)
final XProcDocument
read()
-
-
Constructor Detail
-
DocumentReader
DocumentReader(XProcStepConfiguration stepConfig, InputStream stream, MediaType contentType, URI baseUri, Map<QName, XdmValue> param)
-
-
Method Detail
-
getOutType
final MediaClassification getOutType()
-
getStepConfig
final XProcStepConfiguration getStepConfig()
-
getStream
final InputStream getStream()
-
getContentType
final MediaType getContentType()
-
getBaseUri
final URI getBaseUri()
-
get
final XdmValue get(QName name)
-
read
final XProcDocument read()
-
-
-
-