org.codehaus.plexus.configuration.xstream
Class PlexusConfigurationWriter

java.lang.Object
  extended byorg.codehaus.plexus.configuration.xstream.PlexusConfigurationWriter
All Implemented Interfaces:
com.thoughtworks.xstream.xml.XMLWriter

public class PlexusConfigurationWriter
extends java.lang.Object
implements com.thoughtworks.xstream.xml.XMLWriter


Field Summary
private  DefaultPlexusConfiguration configuration
           
private  java.util.LinkedList elementStack
           
 
Constructor Summary
PlexusConfigurationWriter()
           
 
Method Summary
 void addAttribute(java.lang.String key, java.lang.String value)
           
 void endElement()
           
 DefaultPlexusConfiguration getConfiguration()
           
 void startElement(java.lang.String name)
           
private  DefaultPlexusConfiguration top()
           
 void writeText(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementStack

private java.util.LinkedList elementStack

configuration

private DefaultPlexusConfiguration configuration
Constructor Detail

PlexusConfigurationWriter

public PlexusConfigurationWriter()
Method Detail

getConfiguration

public DefaultPlexusConfiguration getConfiguration()

startElement

public void startElement(java.lang.String name)
Specified by:
startElement in interface com.thoughtworks.xstream.xml.XMLWriter

writeText

public void writeText(java.lang.String text)
Specified by:
writeText in interface com.thoughtworks.xstream.xml.XMLWriter

addAttribute

public void addAttribute(java.lang.String key,
                         java.lang.String value)
Specified by:
addAttribute in interface com.thoughtworks.xstream.xml.XMLWriter

endElement

public void endElement()
Specified by:
endElement in interface com.thoughtworks.xstream.xml.XMLWriter

top

private DefaultPlexusConfiguration top()