| java.lang.Object com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl com.sun.xml.bind.v2.runtime.output.XMLStreamWriterOutput
All known Subclasses: com.sun.xml.bind.v2.runtime.output.FastInfosetStreamWriterOutput, com.sun.xml.bind.v2.runtime.output.StAXExStreamWriterOutput,
XMLStreamWriterOutput | public class XMLStreamWriterOutput extends XmlOutputAbstractImpl (Code) | | XmlOutput that writes to StAX
XMLStreamWriter .
TODO:
Finding the optimized FI implementations is a bit hacky and not very
extensible. Can we use the service provider mechnism in general for
concrete implementations of XmlOutputAbstractImpl.
author: Kohsuke Kawaguchi |
Field Summary | |
final protected char[] | buf |
Method Summary | |
public void | attribute(int prefix, String localName, String value) | public void | beginStartTag(int prefix, String localName) | public static XmlOutput | create(XMLStreamWriter out, JAXBContextImpl context) Creates a new
XmlOutput from a
XMLStreamWriter . | public void | endDocument(boolean fragment) | public void | endStartTag() | public void | endTag(int prefix, String localName) | public void | startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) | public void | text(String value, boolean needsSeparatingWhitespace) | public void | text(Pcdata value, boolean needsSeparatingWhitespace) |
buf | final protected char[] buf(Code) | | |
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)
|
|
|