Package com.xmlcalabash.io
Class DocumentWriter
-
- All Implemented Interfaces:
public final class DocumentWriter extends Marshaller
-
-
Field Summary
Fields Modifier and Type Field Description private final MediaClassification
inType
private final Map<QName, XdmValue>
serializationParameters
private final XProcDocument
doc
private final OutputStream
stream
private final DocumentContext
docContext
-
Constructor Summary
Constructors Constructor Description DocumentWriter(XProcDocument doc, OutputStream stream, Map<QName, XdmValue> externalSerialization)
-
Method Summary
Modifier and Type Method Description final MediaClassification
getInType()
final Map<QName, XdmValue>
getSerializationParameters()
final XProcDocument
getDoc()
final OutputStream
getStream()
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 Unit
write()
-
-
Constructor Detail
-
DocumentWriter
DocumentWriter(XProcDocument doc, OutputStream stream, Map<QName, XdmValue> externalSerialization)
-
-
Method Detail
-
getInType
final MediaClassification getInType()
-
getSerializationParameters
final Map<QName, XdmValue> getSerializationParameters()
-
getDoc
final XProcDocument getDoc()
-
getStream
final OutputStream getStream()
-
get
final XdmValue get(QName name)
-
-
-
-