|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.ByteArrayOutputStream org.vfny.geoserver.responses.XmlOutputStream
Smart ByteArray to store XML values and offers convenient methods for writing XML and file values to the stream.
Field Summary |
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
Constructor Summary | |
XmlOutputStream()
Empty constructor, calls super. |
|
XmlOutputStream(int length)
Constructor with XML length set. |
Method Summary | |
void |
writeFile(java.lang.String inputFileName)
Writes file contents directly to XML output stream. |
void |
writeToClean(java.io.OutputStream xmlOut)
Writes XML output to XML final, stripping XML encoding preamble. |
void |
writeToNormal(java.io.OutputStream xmlOut)
Writes XML output directly, with no modification, to XML final. |
Methods inherited from class java.io.ByteArrayOutputStream |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
Methods inherited from class java.io.OutputStream |
flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XmlOutputStream()
public XmlOutputStream(int length)
length
- The column/XML tag name.Method Detail |
public void writeToClean(java.io.OutputStream xmlOut) throws WfsException
xmlOut
- XML output to write to XML final.
WfsException
- For IOExceptionspublic void writeToNormal(java.io.OutputStream xmlOut) throws WfsException
xmlOut
- XML output to write to XML final.
WfsException
- For IOExceptionspublic void writeFile(java.lang.String inputFileName) throws WfsException
inputFileName
- File to write to XML stream.
WfsException
- For IOExceptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |