| java.lang.Object com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput com.sun.xml.bind.v2.runtime.output.IndentingUTF8XmlOutput
IndentingUTF8XmlOutput | final public class IndentingUTF8XmlOutput extends UTF8XmlOutput (Code) | | UTF8XmlOutput with indentation.
TODO: not sure if it's a good idea to move the indenting functionality to another class.
Doesn't have to be final, but it helps the JVM.
author: Kohsuke Kawaguchi |
IndentingUTF8XmlOutput | public IndentingUTF8XmlOutput(OutputStream out, String indentStr, Encoded[] localNames)(Code) | | Parameters: indentStr - set to null for no indentation and optimal performance.otherwise the string is used for indentation. |
Methods inherited from com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput | public void attribute(Name name, String value) throws IOException(Code)(Java Doc) public void attribute(int prefix, String localName, String value) throws IOException(Code)(Java Doc) public void beginStartTag(int prefix, String localName) throws IOException(Code)(Java Doc) public void beginStartTag(Name name) throws IOException(Code)(Java Doc) final protected void closeStartTag() throws IOException(Code)(Java Doc) public void endDocument(boolean fragment) throws IOException, SAXException, XMLStreamException(Code)(Java Doc) public void endStartTag() throws IOException(Code)(Java Doc) public void endTag(Name name) throws IOException(Code)(Java Doc) public void endTag(int prefix, String localName) throws IOException(Code)(Java Doc) final protected void flushBuffer() throws IOException(Code)(Java Doc) public void setHeader(String header)(Code)(Java Doc) public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException(Code)(Java Doc) public void text(String value, boolean needSP) throws IOException(Code)(Java Doc) public void text(Pcdata value, boolean needSP) throws IOException(Code)(Java Doc) final public void text(int value) throws IOException(Code)(Java Doc) public void text(byte[] data, int dataLen) throws IOException(Code)(Java Doc) static byte[] toBytes(String s)(Code)(Java Doc) final public void write(int i) throws IOException(Code)(Java Doc) final protected void write(byte[] b) throws IOException(Code)(Java Doc) final protected void write(byte[] b, int start, int length) throws IOException(Code)(Java Doc) final protected void writeNsDecl(int prefixIndex) throws IOException(Code)(Java Doc) protected void writeNsDecls(int base) throws IOException(Code)(Java Doc)
|
Methods inherited from com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl | public void attribute(Name name, String value) throws IOException, XMLStreamException(Code)(Java Doc) abstract public void attribute(int prefix, String localName, String value) throws IOException, XMLStreamException(Code)(Java Doc) public void beginStartTag(Name name) throws IOException, XMLStreamException(Code)(Java Doc) abstract public void beginStartTag(int prefix, String localName) throws IOException, XMLStreamException(Code)(Java Doc) public void endDocument(boolean fragment) throws IOException, SAXException, XMLStreamException(Code)(Java Doc) abstract public void endStartTag() throws IOException, SAXException(Code)(Java Doc) public void endTag(Name name) throws IOException, SAXException, XMLStreamException(Code)(Java Doc) abstract public void endTag(int prefix, String localName) throws IOException, SAXException, XMLStreamException(Code)(Java Doc) public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException(Code)(Java Doc)
|
|
|