Class XStreamDomElementWriter

java.lang.Object
com.thoughtworks.xstream.io.AbstractWriter
com.thoughtworks.xstream.io.xml.AbstractXmlWriter
com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
com.bc.ceres.binding.dom.XStreamDomElementWriter
All Implemented Interfaces:
com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter, com.thoughtworks.xstream.io.HierarchicalStreamWriter, com.thoughtworks.xstream.io.xml.DocumentWriter, com.thoughtworks.xstream.io.xml.XmlFriendlyWriter

public class XStreamDomElementWriter extends com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
todo - add API doc
Since:
BEAM 4.6
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    XStreamDomElementWriter(DomElement child, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer xmlFriendlyReplacer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAttribute(String name, String value)
     
    protected Object
     
    void
     

    Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractDocumentWriter

    close, endNode, endNodeInternally, flush, getCurrent, getTopLevelNodes, startNode

    Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlWriter

    escapeXmlName

    Methods inherited from class com.thoughtworks.xstream.io.AbstractWriter

    encodeAttribute, encodeNode, startNode, underlyingWriter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.thoughtworks.xstream.io.HierarchicalStreamWriter

    underlyingWriter
  • Constructor Details

    • XStreamDomElementWriter

      public XStreamDomElementWriter(DomElement child)
    • XStreamDomElementWriter

      public XStreamDomElementWriter(DomElement child, com.thoughtworks.xstream.io.xml.XmlFriendlyReplacer xmlFriendlyReplacer)
  • Method Details

    • createNode

      protected Object createNode(String name)
      Specified by:
      createNode in class com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
    • addAttribute

      public void addAttribute(String name, String value)
    • setValue

      public void setValue(String text)