public class XMLOutputValue<V> extends OutputValue<V>
This interface has several sub-interfaces. Instances may implement one or more of them:
| Modifier | Constructor and Description |
|---|---|
protected |
XMLOutputValue() |
|
XMLOutputValue(BaseURIAwareXMLStreamWriter value) |
|
XMLOutputValue(Consumer<Node> value) |
protected |
XMLOutputValue(XMLOutputValue<V> value) |
| Modifier and Type | Method and Description |
|---|---|
Consumer<Node> |
asNodeConsumer()
|
XMLEventWriter |
asXMLEventWriter()
A sequence of XML events, as a
XMLEventWriter. |
BaseURIAwareXMLStreamWriter |
asXMLStreamWriter()
A sequence of XML events, as a
XMLStreamWriter. |
void |
writeXMLStream(Consumer<BaseURIAwareXMLStreamWriter> stream)
The purpose of this method is to be overridden by subclasses, e.g.
|
public XMLOutputValue(BaseURIAwareXMLStreamWriter value)
protected XMLOutputValue()
protected XMLOutputValue(XMLOutputValue<V> value)
public BaseURIAwareXMLStreamWriter asXMLStreamWriter() throws UnsupportedOperationException
XMLStreamWriter.UnsupportedOperationExceptionpublic void writeXMLStream(Consumer<BaseURIAwareXMLStreamWriter> stream) throws UnsupportedOperationException
UnsupportedOperationExceptionpublic XMLEventWriter asXMLEventWriter() throws UnsupportedOperationException
XMLEventWriter.UnsupportedOperationExceptionpublic Consumer<Node> asNodeConsumer() throws UnsupportedOperationException
UnsupportedOperationExceptionCopyright © 2010–2025 The DAISY Consortium. All rights reserved.