XMLInputStream
, XMLInputStreamFilter
@Deprecated public class PipedXMLInputStreamBase extends java.lang.Object implements XMLInputStreamFilter
XMLInputStream
,
XMLOutputStream
,
XMLInputStreamFilter
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
open |
Deprecated.
|
protected XMLInputStream |
parent |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Deprecated.
Closes this input stream and releases any system resources associated with the stream.
|
protected XMLEvent |
filter(XMLEvent e) |
Deprecated.
|
XMLInputStream |
getParent() |
Deprecated.
Get the parent stream
|
ReferenceResolver |
getReferenceResolver() |
Deprecated.
Returns the reference resolver that was set for this stream,
returns null if no ReferenceResolver has been set.
|
XMLInputStream |
getSubStream() |
Deprecated.
getSubStream() returns a stream which points to the entire next element in the
current stream.
|
boolean |
hasNext() |
Deprecated.
Check if there are more events to pull of the stream
|
XMLEvent |
next() |
Deprecated.
Get the next XMLEvent on the stream
|
XMLEvent |
peek() |
Deprecated.
Check the next XMLEvent without reading it from the stream.
|
void |
setParent(XMLInputStream parent) |
Deprecated.
Set the parent stream
|
void |
setReferenceResolver(ReferenceResolver resolver) |
Deprecated.
Provides a way to set the ReferenceResolver of the stream,
this is mostly needed for handle references to other parts of the
document.
|
void |
skip() |
Deprecated.
Skip the next stream event
|
boolean |
skip(int elementType) |
Deprecated.
Position the stream at the next XMLEvent of this type.
|
boolean |
skip(XMLName name) |
Deprecated.
Position the stream at the next element of this name.
|
boolean |
skip(XMLName name,
int elementType) |
Deprecated.
Position the stream at the next element of this name and this type.
|
void |
skipElement() |
Deprecated.
Skips the entire next start tag / end tag pair.
|
protected XMLInputStream parent
protected boolean open
protected XMLEvent filter(XMLEvent e) throws XMLStreamException
XMLStreamException
public XMLEvent next() throws XMLStreamException
XMLInputStream
next
in interface XMLInputStream
XMLStreamException
XMLEvent
public boolean hasNext() throws XMLStreamException
XMLInputStream
hasNext
in interface XMLInputStream
XMLStreamException
XMLEvent
public void skip() throws XMLStreamException
XMLInputStream
skip
in interface XMLInputStream
XMLStreamException
public void skipElement() throws XMLStreamException
XMLInputStream
skipElement
in interface XMLInputStream
XMLStreamException
public XMLEvent peek() throws XMLStreamException
XMLInputStream
peek
in interface XMLInputStream
XMLStreamException
XMLEvent
public boolean skip(int elementType) throws XMLStreamException
XMLInputStream
skip
in interface XMLInputStream
elementType
- An integer code that indicates the element type.XMLStreamException
XMLEvent
public boolean skip(XMLName name) throws XMLStreamException
XMLInputStream
skip
in interface XMLInputStream
name
- An object that defines an XML name.
If the XMLName.getNameSpaceName() method on the XMLName argument returns
null the XMLName will match just the local name. Prefixes are
not checked for equality.XMLStreamException
XMLName
public boolean skip(XMLName name, int elementType) throws XMLStreamException
XMLInputStream
skip
in interface XMLInputStream
name
- An object that defines an XML name.
If the XMLName.getNameSpaceName() method on the XMLName argument returns
null the XMLName will match just the local name. Prefixes are
not checked for equality.elementType
- An integer code that indicates the element type.XMLStreamException
XMLEvent
,
XMLName
public XMLInputStream getSubStream() throws XMLStreamException
XMLInputStream
getSubStream
in interface XMLInputStream
XMLStreamException
public void close() throws XMLStreamException
XMLInputStream
close
in interface XMLInputStream
XMLStreamException
public XMLInputStream getParent()
XMLInputStreamFilter
getParent
in interface XMLInputStreamFilter
XMLInputStream
public void setParent(XMLInputStream parent) throws XMLStreamException
XMLInputStreamFilter
setParent
in interface XMLInputStreamFilter
XMLStreamException
XMLInputStream
public void setReferenceResolver(ReferenceResolver resolver)
XMLInputStream
setReferenceResolver
in interface XMLInputStream
ReferenceResolver
public ReferenceResolver getReferenceResolver()
XMLInputStream
getReferenceResolver
in interface XMLInputStream
ReferenceResolver