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 java.lang.Object
- implements org.codehaus.plexus.configuration.PlexusConfiguration
- Version:
- $Id: XmlPlexusConfiguration.java 4779 2006-11-23 04:09:31Z jvanzyl $
Method Summary |
void |
addAllChildren(org.codehaus.plexus.configuration.PlexusConfiguration other)
|
void |
addChild(org.codehaus.plexus.configuration.PlexusConfiguration configuration)
|
java.lang.String |
getAttribute(java.lang.String name)
|
java.lang.String |
getAttribute(java.lang.String name,
java.lang.String defaultValue)
|
java.lang.String[] |
getAttributeNames()
|
org.codehaus.plexus.configuration.PlexusConfiguration |
getChild(int i)
|
org.codehaus.plexus.configuration.PlexusConfiguration |
getChild(java.lang.String name)
|
org.codehaus.plexus.configuration.PlexusConfiguration |
getChild(java.lang.String name,
boolean createChild)
|
int |
getChildCount()
|
org.codehaus.plexus.configuration.PlexusConfiguration[] |
getChildren()
|
org.codehaus.plexus.configuration.PlexusConfiguration[] |
getChildren(java.lang.String name)
|
java.lang.String |
getName()
|
java.lang.String |
getValue()
|
java.lang.String |
getValue(java.lang.String defaultValue)
|
org.codehaus.plexus.util.xml.Xpp3Dom |
getXpp3Dom()
|
void |
setAttribute(java.lang.String name,
java.lang.String value)
|
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XmlPlexusConfiguration
public XmlPlexusConfiguration(java.lang.String name)
XmlPlexusConfiguration
public XmlPlexusConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom dom)
getXpp3Dom
public org.codehaus.plexus.util.xml.Xpp3Dom getXpp3Dom()
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getValue
public java.lang.String getValue(java.lang.String defaultValue)
- Specified by:
getValue
in interface org.codehaus.plexus.configuration.PlexusConfiguration
setValue
public void setValue(java.lang.String value)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.String value)
getAttribute
public java.lang.String getAttribute(java.lang.String name,
java.lang.String defaultValue)
- Specified by:
getAttribute
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getAttributeNames
public java.lang.String[] getAttributeNames()
- Specified by:
getAttributeNames
in interface org.codehaus.plexus.configuration.PlexusConfiguration
getChild
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Copyright © 2001-2007 Codehaus. All Rights Reserved.