|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavanet.staxutils.BaseXMLEventWriter
javanet.staxutils.XMLStreamEventWriter
public class XMLStreamEventWriter
XMLEventWriter that writes events to a
XMLStreamWriter.
| Field Summary |
|---|
| Fields inherited from class javanet.staxutils.BaseXMLEventWriter |
|---|
attrBuff, closed, factory, lastStart, nsBuff, nsStack |
| Constructor Summary | |
|---|---|
XMLStreamEventWriter(javax.xml.stream.XMLStreamWriter writer)
Constructs a XMLEventStreamWriter that writes events to the
given stream. |
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
protected void |
sendEvent(javax.xml.stream.events.XMLEvent event)
Called by the methods of this class to write the event to the stream. |
| Methods inherited from class javanet.staxutils.BaseXMLEventWriter |
|---|
add, add, cacheAttribute, cacheNamespace, getNamespaceContext, getPrefix, peekNamespaceStack, popNamespaceStack, pushNamespaceStack, setDefaultNamespace, setNamespaceContext, setPrefix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLStreamEventWriter(javax.xml.stream.XMLStreamWriter writer)
XMLEventStreamWriter that writes events to the
given stream.
writer - The XMLStreamWriter to which the events will be
written.| Method Detail |
|---|
public void flush()
throws javax.xml.stream.XMLStreamException
flush in interface javax.xml.stream.XMLEventWriterflush in class BaseXMLEventWriterjavax.xml.stream.XMLStreamException
public void close()
throws javax.xml.stream.XMLStreamException
close in interface javax.xml.stream.XMLEventWriterclose in class BaseXMLEventWriterjavax.xml.stream.XMLStreamException
protected void sendEvent(javax.xml.stream.events.XMLEvent event)
throws javax.xml.stream.XMLStreamException
BaseXMLEventWriter
sendEvent in class BaseXMLEventWriterevent - The event to write.
javax.xml.stream.XMLStreamException - If an error occurs processing the event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||