|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.xmla.impl.DefaultSaxWriter
public class DefaultSaxWriter
Default implementation of SaxWriter
.
Nested Class Summary | |
---|---|
static class |
DefaultSaxWriter.StringAttributes
List of SAX attributes based upon a string array. |
Constructor Summary | |
---|---|
DefaultSaxWriter(OutputStream stream)
Creates a SAXWriter writing to an OutputStream . |
|
DefaultSaxWriter(OutputStream stream,
String xmlEncoding)
|
|
DefaultSaxWriter(PrintWriter writer,
int initialIndent)
Creates a SAXWriter writing to a PrintWriter . |
|
DefaultSaxWriter(Writer writer)
Creates a SAXWriter writing to a Writer . |
Method Summary | |
---|---|
void |
characters(String s)
|
void |
completeBeforeElement(String tagName)
|
void |
element(String tagName,
String[] attributes)
|
void |
endDocument()
|
void |
endElement()
|
void |
flush()
Flushes any unwritten output. |
void |
startDocument()
|
void |
startElement(String tagName)
|
void |
startElement(String tagName,
String[] attributes)
|
void |
verbatim(String text)
Sends a piece of text verbatim through the writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSaxWriter(OutputStream stream)
SAXWriter
writing to an OutputStream
.
public DefaultSaxWriter(OutputStream stream, String xmlEncoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public DefaultSaxWriter(Writer writer)
SAXWriter
writing to a Writer
.
If writer
is a PrintWriter
,
DefaultSaxWriter(java.io.OutputStream)
is preferred.
public DefaultSaxWriter(PrintWriter writer, int initialIndent)
SAXWriter
writing to a PrintWriter
.
writer
- initialIndent
- Method Detail |
---|
public void characters(String s)
characters
in interface SaxWriter
public void element(String tagName, String[] attributes)
element
in interface SaxWriter
public void startElement(String tagName)
startElement
in interface SaxWriter
public void startElement(String tagName, String[] attributes)
startElement
in interface SaxWriter
public void endElement()
endElement
in interface SaxWriter
public void startDocument()
startDocument
in interface SaxWriter
public void endDocument()
endDocument
in interface SaxWriter
public void completeBeforeElement(String tagName)
completeBeforeElement
in interface SaxWriter
public void verbatim(String text)
SaxWriter
verbatim
in interface SaxWriter
public void flush()
SaxWriter
flush
in interface SaxWriter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |