|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.droids.helper.Loggable
org.apache.droids.helper.StAX
public class StAX
Helper class that eases the usage of StAX in your plugins.
Field Summary |
---|
Fields inherited from class org.apache.droids.helper.Loggable |
---|
log |
Constructor Summary | |
---|---|
StAX()
Easy helper to get StAX based parser and writer. |
Method Summary | |
---|---|
javax.xml.stream.XMLEventFactory |
getEventFactory()
Get the ready to used EventFactory |
javax.xml.stream.XMLEventReader |
getEventParser(java.io.InputStream in)
Get an event Parser based on the incoming stream |
javax.xml.stream.XMLStreamReader |
getParser(java.io.InputStream in)
Get a stream Parser based on the incoming stream |
javax.xml.stream.XMLStreamWriter |
getStreamWriter(java.io.OutputStream stream)
Get a stream writer based on the incoming stream |
javax.xml.stream.XMLEventWriter |
getWriter(java.io.OutputStream stream)
Get an event writer based on the incoming stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StAX()
Method Detail |
---|
public javax.xml.stream.XMLEventWriter getWriter(java.io.OutputStream stream) throws javax.xml.stream.XMLStreamException
stream
- the stream we want to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter getStreamWriter(java.io.OutputStream stream) throws javax.xml.stream.XMLStreamException
stream
- the stream we want to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventReader getEventParser(java.io.InputStream in) throws javax.xml.stream.XMLStreamException
in
- the stream we want to read from
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader getParser(java.io.InputStream in) throws javax.xml.stream.XMLStreamException
in
- the stream we want to read from
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventFactory getEventFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |