Class 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 Detail

      • XStreamDomElementWriter

        public XStreamDomElementWriter​(DomElement child)
      • XStreamDomElementWriter

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

      • 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)