|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.registry.RegistryPlexusConfiguration
public class RegistryPlexusConfiguration
An implementation of the Plexus Configuration interface backed by a registry.
Field Summary | |
---|---|
private java.util.List |
keys
List of keys (with a depth of 1) in the registry. |
private java.lang.String |
name
The name associated with this registry entry. |
private Registry |
parent
The parent registry. |
private Registry |
registry
The backing registry. |
Constructor Summary | |
---|---|
RegistryPlexusConfiguration(Registry registry)
|
|
RegistryPlexusConfiguration(java.lang.String name,
Registry registry,
Registry parent)
|
Method Summary | |
---|---|
void |
addChild(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration)
|
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)
|
private java.util.List |
getKeys()
|
java.lang.String |
getName()
|
Registry |
getRegistry()
|
java.lang.String |
getValue()
|
java.lang.String |
getValue(java.lang.String defaultValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Registry registry
private final java.lang.String name
private java.util.List keys
private final Registry parent
Constructor Detail |
---|
public RegistryPlexusConfiguration(Registry registry)
public RegistryPlexusConfiguration(java.lang.String name, Registry registry, Registry parent)
Method Detail |
---|
public java.lang.String getName()
getName
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public java.lang.String getValue()
getValue
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public java.lang.String getValue(java.lang.String defaultValue)
getValue
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public java.lang.String[] getAttributeNames()
getAttributeNames
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public java.lang.String getAttribute(java.lang.String name) throws org.codehaus.plexus.configuration.PlexusConfigurationException
getAttribute
in interface org.codehaus.plexus.configuration.PlexusConfiguration
org.codehaus.plexus.configuration.PlexusConfigurationException
public java.lang.String getAttribute(java.lang.String name, java.lang.String defaultValue)
getAttribute
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(java.lang.String name)
getChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(int i)
getChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
private java.util.List getKeys()
public org.codehaus.plexus.configuration.PlexusConfiguration getChild(java.lang.String name, boolean createChild)
getChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public org.codehaus.plexus.configuration.PlexusConfiguration[] getChildren()
getChildren
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public org.codehaus.plexus.configuration.PlexusConfiguration[] getChildren(java.lang.String name)
getChildren
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public void addChild(org.codehaus.plexus.configuration.PlexusConfiguration plexusConfiguration)
addChild
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public int getChildCount()
getChildCount
in interface org.codehaus.plexus.configuration.PlexusConfiguration
public Registry getRegistry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |