public abstract class StreamType extends Multiton
| Modifier and Type | Field and Description |
|---|---|
static StreamType |
BYTE_STREAM |
static StreamType |
CHARACTER_STREAM |
| Modifier and Type | Method and Description |
|---|---|
abstract StreamSource |
createStreamSource(Closeable stream) |
abstract XMLStreamReader |
createXMLStreamReader(XMLInputFactory factory,
Closeable stream) |
abstract Closeable |
getStream(XMLSample sample) |
Class<? extends Closeable> |
getType() |
abstract InstrumentedStream |
instrumentStream(Closeable stream) |
getAdapter, getInstancespublic static final StreamType BYTE_STREAM
public static final StreamType CHARACTER_STREAM
public abstract InstrumentedStream instrumentStream(Closeable stream)
public abstract XMLStreamReader createXMLStreamReader(XMLInputFactory factory, Closeable stream) throws XMLStreamException
XMLStreamExceptionpublic abstract StreamSource createStreamSource(Closeable stream)
Copyright ? The Apache Software Foundation. All Rights Reserved.