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
.UnsupportedOperationException
public void writeXMLStream(Consumer<BaseURIAwareXMLStreamWriter> stream) throws UnsupportedOperationException
UnsupportedOperationException
public XMLEventWriter asXMLEventWriter() throws UnsupportedOperationException
XMLEventWriter
.UnsupportedOperationException
public Consumer<Node> asNodeConsumer() throws UnsupportedOperationException
UnsupportedOperationException
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.