edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.xml
Class XppDomWriter

java.lang.Object
  extended by edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.xml.AbstractXmlWriter
      extended by edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
          extended by edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.xml.XppDomWriter
All Implemented Interfaces:
ExtendedHierarchicalStreamWriter, HierarchicalStreamWriter, DocumentWriter, XmlFriendlyWriter

public class XppDomWriter
extends AbstractDocumentWriter


Constructor Summary
XppDomWriter()
           
XppDomWriter(XmlFriendlyReplacer replacer)
           
XppDomWriter(Xpp3Dom parent)
           
XppDomWriter(Xpp3Dom parent, XmlFriendlyReplacer replacer)
           
 
Method Summary
 void addAttribute(String key, String value)
           
protected  Object createNode(String name)
          Create a node.
 Xpp3Dom getConfiguration()
           
 void setValue(String text)
          Write the value (text content) of the current node.
 
Methods inherited from class edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
close, endNode, endNodeInternally, flush, getCurrent, getTopLevelNodes, startNode
 
Methods inherited from class edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.xml.AbstractXmlWriter
escapeXmlName, startNode, underlyingWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.io.HierarchicalStreamWriter
underlyingWriter
 

Constructor Detail

XppDomWriter

public XppDomWriter()

XppDomWriter

public XppDomWriter(Xpp3Dom parent)
Since:
1.2.1

XppDomWriter

public XppDomWriter(XmlFriendlyReplacer replacer)
Since:
1.2

XppDomWriter

public XppDomWriter(Xpp3Dom parent,
                    XmlFriendlyReplacer replacer)
Since:
1.2.1
Method Detail

getConfiguration

public Xpp3Dom getConfiguration()

createNode

protected Object createNode(String name)
Description copied from class: AbstractDocumentWriter
Create a node. The provided node name is not yet XML friendly. If AbstractDocumentWriter.getCurrent() returns null the node is a top level node.

Specified by:
createNode in class AbstractDocumentWriter
Parameters:
name - the node name
Returns:
the new node

setValue

public void setValue(String text)
Description copied from interface: HierarchicalStreamWriter
Write the value (text content) of the current node.


addAttribute

public void addAttribute(String key,
                         String value)


Copyright © 2010 Internet2. All Rights Reserved.