org.apache.xmlbeans.xml.stream
Interface BufferedXMLInputStream

All Superinterfaces:
XMLInputStream

Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.

public interface BufferedXMLInputStream
extends XMLInputStream

Extends the XMLInputStream to allow marking and reseting of the stream.

Since:
XMLInputStream 1.0
Version:
1.0
See Also:
CharacterData, ProcessingInstruction, StartElement, EndElement, CharacterData, XMLName

Method Summary
 void mark()
          Deprecated. Sets the marks a point to return to in the stream, throws an exception if the stream does not support mark.
 void reset()
          Deprecated. Resets the stream to the previous mark.
 
Methods inherited from interface org.apache.xmlbeans.xml.stream.XMLInputStream
close, getReferenceResolver, getSubStream, hasNext, next, peek, setReferenceResolver, skip, skip, skip, skip, skipElement
 

Method Detail

mark

void mark()
          throws XMLStreamException
Deprecated. 
Sets the marks a point to return to in the stream, throws an exception if the stream does not support mark. This is only supported in BufferedStreams

Throws:
XMLStreamException

reset

void reset()
           throws XMLStreamException
Deprecated. 
Resets the stream to the previous mark. throws an exception if the stream does not support mark;

Throws:
XMLStreamException