|
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 XMLOutputStreamXMLStreamException
public void add(String markup)
throws XMLStreamException
add in interface XMLOutputStreamXMLStreamException
public void add(XMLEvent e)
throws XMLStreamException
add in interface XMLOutputStreamXMLStreamException
public void add(XMLInputStream stream)
throws XMLStreamException
add in interface XMLOutputStreamXMLStreamException
public void close()
throws XMLStreamException
XMLInputStream
close in interface XMLInputStreamXMLStreamException
public void close(boolean flush)
throws XMLStreamException
close in interface XMLOutputStreamXMLStreamException
public void flush()
throws XMLStreamException
flush in interface XMLOutputStreamXMLStreamExceptionpublic ReferenceResolver getReferenceResolver()
XMLInputStream
getReferenceResolver in interface XMLInputStreamReferenceResolver
public XMLInputStream getSubStream()
throws XMLStreamException
XMLInputStream
getSubStream in interface XMLInputStreamXMLStreamException
public boolean hasNext()
throws XMLStreamException
XMLInputStream
hasNext in interface XMLInputStreamXMLStreamExceptionXMLEvent
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 XMLInputStreamXMLStreamExceptionXMLEvent
public XMLEvent peek()
throws XMLStreamException
XMLInputStream
peek in interface XMLInputStreamXMLStreamExceptionXMLEventpublic void setReferenceResolver(ReferenceResolver resolver)
XMLInputStream
setReferenceResolver in interface XMLInputStreamReferenceResolver
public void skip()
throws XMLStreamException
XMLInputStream
skip in interface XMLInputStreamXMLStreamException
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 void skipElement()
throws XMLStreamException
XMLInputStream
skipElement in interface XMLInputStreamXMLStreamException
|
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 | ||||||||||