org.codehaus.plexus.configuration
Class DefaultPlexusConfiguration
java.lang.Object
org.codehaus.plexus.configuration.DefaultPlexusConfiguration
- All Implemented Interfaces:
- PlexusConfiguration
- Direct Known Subclasses:
- XmlPlexusConfiguration
public class DefaultPlexusConfiguration
- extends java.lang.Object
- implements PlexusConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPlexusConfiguration
public DefaultPlexusConfiguration(java.lang.String name)
DefaultPlexusConfiguration
public DefaultPlexusConfiguration(java.lang.String name,
java.lang.String value)
getName
public final java.lang.String getName()
- Specified by:
getName
in interface PlexusConfiguration
getValue
public final java.lang.String getValue()
- Specified by:
getValue
in interface PlexusConfiguration
getValue
public final java.lang.String getValue(java.lang.String defaultValue)
- Specified by:
getValue
in interface PlexusConfiguration
setValue
public final void setValue(java.lang.String value)
- Specified by:
setValue
in interface PlexusConfiguration
getAttributeNames
public final java.lang.String[] getAttributeNames()
- Specified by:
getAttributeNames
in interface PlexusConfiguration
getAttribute
public final java.lang.String getAttribute(java.lang.String attributeName)
- Specified by:
getAttribute
in interface PlexusConfiguration
getAttribute
public final java.lang.String getAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
- Specified by:
getAttribute
in interface PlexusConfiguration
setAttribute
public final void setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
- Specified by:
setAttribute
in interface PlexusConfiguration
getChild
public final PlexusConfiguration getChild(java.lang.String childName)
- Specified by:
getChild
in interface PlexusConfiguration
getChild
public final PlexusConfiguration getChild(java.lang.String childName,
boolean create)
- Specified by:
getChild
in interface PlexusConfiguration
getChildren
public final PlexusConfiguration[] getChildren()
- Specified by:
getChildren
in interface PlexusConfiguration
getChildren
public final PlexusConfiguration[] getChildren(java.lang.String childName)
- Specified by:
getChildren
in interface PlexusConfiguration
getChildCount
public final int getChildCount()
- Specified by:
getChildCount
in interface PlexusConfiguration
getChild
public final PlexusConfiguration getChild(int index)
- Specified by:
getChild
in interface PlexusConfiguration
addChild
public final void addChild(PlexusConfiguration child)
- Specified by:
addChild
in interface PlexusConfiguration
addChild
public final PlexusConfiguration addChild(java.lang.String childName,
java.lang.String childValue)
- Specified by:
addChild
in interface PlexusConfiguration
createChild
protected PlexusConfiguration createChild(java.lang.String childName)
add
protected final PlexusConfiguration add(PlexusConfiguration child)
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.