|
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.XMLInputOutputStreamBase
This object provides an I/O stream
XMLInputStream
,
XMLOutputStream
Field Summary | |
protected weblogic.utils.collections.CircularQueue |
elementQ
Deprecated. |
protected weblogic.xml.stream.events.StartElementEvent |
lastStartElement
Deprecated. |
protected ReferenceResolver |
resolver
Deprecated. |
Constructor Summary | |
XMLInputOutputStreamBase()
Deprecated. |
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. |
void |
close(boolean flush)
Deprecated. |
void |
flush()
Deprecated. |
ReferenceResolver |
getReferenceResolver()
Deprecated. |
XMLInputStream |
getSubStream()
Deprecated. |
boolean |
hasNext()
Deprecated. |
static void |
main(String[] args)
Deprecated. |
protected boolean |
matchName(XMLName name1,
XMLName name2)
Deprecated. |
XMLEvent |
next()
Deprecated. |
XMLEvent |
peek()
Deprecated. |
void |
setReferenceResolver(ReferenceResolver resolver)
Deprecated. |
void |
skip()
Deprecated. |
boolean |
skip(int elementType)
Deprecated. |
boolean |
skip(XMLName name)
Deprecated. |
boolean |
skip(XMLName name,
int elementType)
Deprecated. |
void |
skipElement()
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected weblogic.utils.collections.CircularQueue elementQ
protected weblogic.xml.stream.events.StartElementEvent lastStartElement
protected ReferenceResolver resolver
Constructor Detail |
public XMLInputOutputStreamBase()
Method Detail |
public void add(Attribute attribute) throws XMLStreamException
add
in interface XMLOutputStream
XMLStreamException
public void add(String markup) throws XMLStreamException
add
in interface XMLOutputStream
XMLStreamException
public void add(XMLEvent e) throws XMLStreamException
add
in interface XMLOutputStream
XMLStreamException
public void add(XMLInputStream stream) throws XMLStreamException
add
in interface XMLOutputStream
XMLStreamException
public void close() throws XMLStreamException
XMLInputStream
close
in interface XMLInputStream
XMLStreamException
public void close(boolean flush) throws XMLStreamException
close
in interface XMLOutputStream
XMLStreamException
public void flush() throws XMLStreamException
flush
in interface XMLOutputStream
XMLStreamException
public ReferenceResolver getReferenceResolver()
XMLInputStream
getReferenceResolver
in interface XMLInputStream
ReferenceResolver
public XMLInputStream getSubStream() throws XMLStreamException
XMLInputStream
getSubStream
in interface XMLInputStream
XMLStreamException
public boolean hasNext() throws XMLStreamException
XMLInputStream
hasNext
in interface XMLInputStream
XMLStreamException
XMLEvent
public static void main(String[] args) throws Exception
Exception
protected boolean matchName(XMLName name1, XMLName name2)
public XMLEvent next() throws XMLStreamException
XMLInputStream
next
in interface XMLInputStream
XMLStreamException
XMLEvent
public XMLEvent peek() throws XMLStreamException
XMLInputStream
peek
in interface XMLInputStream
XMLStreamException
XMLEvent
public void setReferenceResolver(ReferenceResolver resolver)
XMLInputStream
setReferenceResolver
in interface XMLInputStream
ReferenceResolver
public void skip() throws XMLStreamException
XMLInputStream
skip
in interface XMLInputStream
XMLStreamException
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 void skipElement() throws XMLStreamException
XMLInputStream
skipElement
in interface XMLInputStream
XMLStreamException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |