public class XMLCalabashOutputValue extends SaxonOutputValue
| Constructor and Description |
|---|
XMLCalabashOutputValue(SaxonOutputValue value) |
XMLCalabashOutputValue(com.xmlcalabash.io.WritablePipe value,
com.xmlcalabash.core.XProcRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
com.xmlcalabash.io.WritablePipe |
asWritablePipe() |
Consumer<net.sf.saxon.s9api.XdmItem> |
asXdmItemConsumer()
The returned
Consumer will throw a TransformerException that wraps: |
static XMLCalabashOutputValue |
of(OutputValue<?> value) |
void |
writeXMLStream(Consumer<BaseURIAwareXMLStreamWriter> lazyStream)
Lazily write an XML stream.
|
asNodeConsumer, asXMLStreamWriterasXMLEventWriterpublic XMLCalabashOutputValue(com.xmlcalabash.io.WritablePipe value,
com.xmlcalabash.core.XProcRuntime runtime)
public XMLCalabashOutputValue(SaxonOutputValue value)
public static XMLCalabashOutputValue of(OutputValue<?> value) throws IllegalArgumentException
IllegalArgumentExceptionpublic com.xmlcalabash.io.WritablePipe asWritablePipe()
public Consumer<net.sf.saxon.s9api.XdmItem> asXdmItemConsumer()
The returned Consumer will throw a TransformerException that wraps:
IllegalArgumentException when an item is supplied that is not a node.asXdmItemConsumer in class SaxonOutputValuepublic void writeXMLStream(Consumer<BaseURIAwareXMLStreamWriter> lazyStream) throws UnsupportedOperationException
writeXMLStream in class XMLOutputValue<Void>lazyStream - may throw a TransformerExceptionUnsupportedOperationExceptionCopyright © 2010–2025 The DAISY Consortium. All rights reserved.