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, asXMLStreamWriter
asXMLEventWriter
public 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 SaxonOutputValue
public void writeXMLStream(Consumer<BaseURIAwareXMLStreamWriter> lazyStream) throws UnsupportedOperationException
writeXMLStream in class XMLOutputValue<Void>
lazyStream - may throw a TransformerException
UnsupportedOperationExceptionCopyright © 2010–2025 The DAISY Consortium. All rights reserved.