org.codehaus.plexus.configuration.xml
Class XmlPlexusConfiguration
java.lang.Object
org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration
- All Implemented Interfaces:
- org.codehaus.plexus.configuration.PlexusConfiguration
public class XmlPlexusConfiguration
- extends Object
- implements org.codehaus.plexus.configuration.PlexusConfiguration
- Version:
- $Id: XmlPlexusConfiguration.java 4779 2006-11-23 04:09:31Z jvanzyl $
XmlPlexusConfiguration
public XmlPlexusConfiguration(String name)
XmlPlexusConfiguration
public XmlPlexusConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom dom)
getXpp3Dom
public org.codehaus.plexus.util.xml.Xpp3Dom getXpp3Dom()
getName
public String getName()
- Specified by:
getName
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getValue
public String getValue()
- Specified by:
getValue
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getValue
public String getValue(String defaultValue)
- Specified by:
getValue
in interface org.codehaus.plexus.configuration.PlexusConfiguration
setValue
public void setValue(String value)
setAttribute
public void setAttribute(String name,
String value)
getAttribute
public String getAttribute(String name,
String defaultValue)
- Specified by:
getAttribute
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getAttribute
public String getAttribute(String name)
- Specified by:
getAttribute
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getAttributeNames
public String[] getAttributeNames()
- Specified by:
getAttributeNames
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getChild
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(String name)
- Specified by:
getChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getChild
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(int i)
- Specified by:
getChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getChild
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(String name,
boolean createChild)
- Specified by:
getChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getChildren
public org.codehaus.plexus.configuration.PlexusConfiguration[] getChildren()
- Specified by:
getChildren
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getChildren
public org.codehaus.plexus.configuration.PlexusConfiguration[] getChildren(String name)
- Specified by:
getChildren
in interface org.codehaus.plexus.configuration.PlexusConfiguration
addChild
public void addChild(org.codehaus.plexus.configuration.PlexusConfiguration configuration)
- Specified by:
addChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
addAllChildren
public void addAllChildren(org.codehaus.plexus.configuration.PlexusConfiguration other)
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interface org.codehaus.plexus.configuration.PlexusConfiguration
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2008 Codehaus. All Rights Reserved.