org.codehaus.plexus.configuration.xstream
Class PlexusConfigurationWriter
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementStack
private java.util.LinkedList elementStack
configuration
private DefaultPlexusConfiguration configuration
PlexusConfigurationWriter
public PlexusConfigurationWriter()
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()