Package org.apache.axiom.ts.xml
Class StreamType
- java.lang.Object
-
- org.apache.axiom.testing.multiton.Multiton
-
- org.apache.axiom.ts.xml.StreamType
-
public abstract class StreamType extends org.apache.axiom.testing.multiton.Multiton
-
-
Field Summary
Fields Modifier and Type Field Description static StreamTypeBYTE_STREAMstatic StreamTypeCHARACTER_STREAM
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StreamSourcecreateStreamSource(Closeable stream)abstract XMLStreamReadercreateXMLStreamReader(XMLInputFactory factory, Closeable stream)abstract CloseablegetStream(XMLSample sample)Class<? extends Closeable>getType()abstract org.apache.axiom.testutils.io.InstrumentedStreaminstrumentStream(Closeable stream)
-
-
-
Field Detail
-
BYTE_STREAM
public static final StreamType BYTE_STREAM
-
CHARACTER_STREAM
public static final StreamType CHARACTER_STREAM
-
-
Method Detail
-
instrumentStream
public abstract org.apache.axiom.testutils.io.InstrumentedStream instrumentStream(Closeable stream)
-
createXMLStreamReader
public abstract XMLStreamReader createXMLStreamReader(XMLInputFactory factory, Closeable stream) throws XMLStreamException
- Throws:
XMLStreamException
-
createStreamSource
public abstract StreamSource createStreamSource(Closeable stream)
-
-