com.sun.xml.bind.v2.runtime.output
Class StAXExStreamWriterOutput

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl
      extended by com.sun.xml.bind.v2.runtime.output.XMLStreamWriterOutput
          extended by com.sun.xml.bind.v2.runtime.output.StAXExStreamWriterOutput
All Implemented Interfaces:
XmlOutput

public final class StAXExStreamWriterOutput
extends XMLStreamWriterOutput

XmlOutput for XMLStreamWriterEx.


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.runtime.output.XMLStreamWriterOutput
buf
 
Fields inherited from class com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl
nsContext, nsUriIndex2prefixIndex, serializer
 
Constructor Summary
StAXExStreamWriterOutput(org.jvnet.staxex.XMLStreamWriterEx out)
           
 
Method Summary
 void text(Pcdata value, boolean needsSeparatingWhitespace)
          Writes XML text with character escaping, if necessary.
 
Methods inherited from class com.sun.xml.bind.v2.runtime.output.XMLStreamWriterOutput
attribute, beginStartTag, create, endDocument, endStartTag, endTag, startDocument, text
 
Methods inherited from class com.sun.xml.bind.v2.runtime.output.XmlOutputAbstractImpl
attribute, beginStartTag, endTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StAXExStreamWriterOutput

public StAXExStreamWriterOutput(org.jvnet.staxex.XMLStreamWriterEx out)
Method Detail

text

public void text(Pcdata value,
                 boolean needsSeparatingWhitespace)
          throws javax.xml.stream.XMLStreamException
Description copied from interface: XmlOutput
Writes XML text with character escaping, if necessary.

Specified by:
text in interface XmlOutput
Overrides:
text in class XMLStreamWriterOutput
Parameters:
value - this string can contain characters that might need escaping (such as '&' or '>')
Throws:
javax.xml.stream.XMLStreamException