|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.common.GenericXmlInputStream
public class GenericXmlInputStream
| Constructor Summary | |
|---|---|
GenericXmlInputStream()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
close()
Deprecated. Closes this input stream and releases any system resources associated with the 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 |
protected XMLEvent |
nextEvent()
Deprecated. |
XMLEvent |
peek()
Deprecated. Check the next XMLEvent without reading it from the 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 eventType)
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 eventType)
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 |
| Constructor Detail |
|---|
public GenericXmlInputStream()
| Method Detail |
|---|
protected XMLEvent nextEvent()
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 eventType)
throws XMLStreamException
XMLInputStream
skip in interface XMLInputStreameventType - 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 eventType)
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.eventType - 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 ReferenceResolver getReferenceResolver()
XMLInputStream
getReferenceResolver in interface XMLInputStreamReferenceResolverpublic void setReferenceResolver(ReferenceResolver resolver)
XMLInputStream
setReferenceResolver in interface XMLInputStreamReferenceResolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||