|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
weblogic.xml.stream.util.XMLInputOutputStreamBase
Deprecated. please use java standard StAX api
public class XMLInputOutputStreamBase
This object provides an I/O stream
XMLInputStream, XMLOutputStream| Field Summary | |
|---|---|
protected CircularQueue |
elementQDeprecated. |
protected StartElementEvent |
lastStartElementDeprecated. |
protected ReferenceResolver |
resolverDeprecated. |
| Method Summary | |
|---|---|
void |
add(Attribute attribute)Deprecated. This method is only supported if the last element was a start element. |
void |
add(String markup)Deprecated. |
void |
add(XMLEvent e)Deprecated. |
void |
add(XMLInputStream stream)Deprecated. |
void |
close()Deprecated. Closes this input stream and releases any system resources associated with the stream. |
void |
close(boolean flush)Deprecated. |
void |
flush()Deprecated. |
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 boolean |
matchName(XMLName name1, XMLName name2)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 |
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 CircularQueue elementQ
protected StartElementEvent lastStartElement
protected ReferenceResolver resolver
| Method Detail |
|---|
public void add(XMLEvent e)
throws XMLStreamException
XMLStreamException
public void add(Attribute attribute)
throws XMLStreamException
XMLStreamException
public void add(XMLInputStream stream)
throws XMLStreamException
XMLStreamException
public void add(String markup)
throws XMLStreamException
XMLStreamException
public void flush()
throws XMLStreamException
XMLStreamException
public XMLEvent next()
throws XMLStreamException
XMLInputStreamnext in interface XMLInputStreamXMLStreamExceptionXMLEvent
public boolean hasNext()
throws XMLStreamException
XMLInputStreamhasNext in interface XMLInputStreamXMLStreamExceptionXMLEvent
public void skip()
throws XMLStreamException
XMLInputStreamskip in interface XMLInputStreamXMLStreamException
public void skipElement()
throws XMLStreamException
XMLInputStreamskipElement in interface XMLInputStreamXMLStreamException
public XMLEvent peek()
throws XMLStreamException
XMLInputStreampeek in interface XMLInputStreamXMLStreamExceptionXMLEvent
public boolean skip(int elementType)
throws XMLStreamException
XMLInputStreamskip in interface XMLInputStreamelementType - An integer code that indicates the element type.XMLStreamExceptionXMLEvent
protected boolean matchName(XMLName name1,
XMLName name2)
public boolean skip(XMLName name)
throws XMLStreamException
XMLInputStreamskip 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
XMLInputStreamskip 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
XMLInputStreamgetSubStream in interface XMLInputStreamXMLStreamException
public void close()
throws XMLStreamException
XMLInputStreamclose in interface XMLInputStreamXMLStreamException
public void close(boolean flush)
throws XMLStreamException
XMLStreamExceptionpublic void setReferenceResolver(ReferenceResolver resolver)
XMLInputStreamsetReferenceResolver in interface XMLInputStreamReferenceResolverpublic ReferenceResolver getReferenceResolver()
XMLInputStreamgetReferenceResolver in interface XMLInputStreamReferenceResolver
public static void main(String[] args)
throws Exception
Exception
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||