|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.xml.stream.util.XMLInputStreamFilterBase
public class XMLInputStreamFilterBase
This is the implementation of the interface for creating Filters on XMLInputStreams
XMLInputStream,
XMLOutputStream,
XMLInputStreamFilter| Field Summary | |
|---|---|
protected ElementFilter |
filter
Deprecated. |
protected boolean |
open
Deprecated. |
protected XMLInputStream |
parent
Deprecated. |
| Constructor Summary | |
|---|---|
XMLInputStreamFilterBase()
Deprecated. |
|
XMLInputStreamFilterBase(XMLInputStream parent,
ElementFilter filter)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
close()
Deprecated. Closes this input stream and releases any system resources associated with the stream. |
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 |
static void |
main(String[] args)
Deprecated. |
protected XMLEvent |
modify(XMLEvent e)
Deprecated. |
XMLEvent |
next()
Deprecated. Get the next XMLEvent on the stream |
XMLEvent |
peek()
Deprecated. Check the next XMLEvent without reading it from the stream. |
void |
pushBack(XMLEvent e)
Deprecated. |
void |
setFilter(ElementFilter filter)
Deprecated. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected XMLInputStream parent
protected boolean open
protected ElementFilter filter
| Constructor Detail |
|---|
public XMLInputStreamFilterBase()
public XMLInputStreamFilterBase(XMLInputStream parent,
ElementFilter filter)
throws XMLStreamException
XMLStreamException| Method Detail |
|---|
public void setFilter(ElementFilter filter)
protected XMLEvent modify(XMLEvent e)
throws XMLStreamException
XMLStreamException
public void pushBack(XMLEvent e)
throws XMLStreamException
XMLStreamException
public XMLEvent next()
throws XMLStreamException
XMLInputStream
next in interface XMLInputStreamXMLStreamExceptionXMLEvent
public boolean hasNext()
throws XMLStreamException
XMLInputStream
hasNext in interface XMLInputStreamXMLStreamExceptionXMLEvent
public void skip()
throws XMLStreamException
XMLInputStream
skip in interface XMLInputStreamXMLStreamException
public void skipElement()
throws XMLStreamException
XMLInputStream
skipElement in interface XMLInputStreamXMLStreamException
public XMLEvent peek()
throws XMLStreamException
XMLInputStream
peek in interface XMLInputStreamXMLStreamExceptionXMLEvent
public boolean skip(int elementType)
throws XMLStreamException
XMLInputStream
skip in interface XMLInputStreamelementType - An integer code that indicates the element type.
XMLStreamExceptionXMLEvent
public boolean skip(XMLName name)
throws XMLStreamException
XMLInputStream
skip in interface XMLInputStreamname - 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.
XMLStreamExceptionXMLName
public boolean skip(XMLName name,
int elementType)
throws XMLStreamException
XMLInputStream
skip in interface XMLInputStreamname - 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.
XMLStreamExceptionXMLEvent,
XMLName
public XMLInputStream getSubStream()
throws XMLStreamException
XMLInputStream
getSubStream in interface XMLInputStreamXMLStreamException
public void close()
throws XMLStreamException
XMLInputStream
close in interface XMLInputStreamXMLStreamExceptionpublic XMLInputStream getParent()
XMLInputStreamFilter
getParent in interface XMLInputStreamFilterXMLInputStream
public void setParent(XMLInputStream parent)
throws XMLStreamException
XMLInputStreamFilter
setParent in interface XMLInputStreamFilterXMLStreamExceptionXMLInputStreampublic void setReferenceResolver(ReferenceResolver resolver)
XMLInputStream
setReferenceResolver in interface XMLInputStreamReferenceResolverpublic ReferenceResolver getReferenceResolver()
XMLInputStream
getReferenceResolver in interface XMLInputStreamReferenceResolver
public static void main(String[] args)
throws Exception
Exception
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||