org.codehaus.plexus.configuration
Interface PlexusConfiguration

All Known Implementing Classes:
DefaultPlexusConfiguration

public interface PlexusConfiguration


Method Summary
 java.lang.String getAttribute(java.lang.String paramName)
           
 java.lang.String getAttribute(java.lang.String name, java.lang.String defaultValue)
           
 java.lang.String[] getAttributeNames()
           
 PlexusConfiguration getChild(int i)
           
 PlexusConfiguration getChild(java.lang.String child)
           
 PlexusConfiguration getChild(java.lang.String child, boolean createNew)
           
 int getChildCount()
           
 PlexusConfiguration[] getChildren()
           
 PlexusConfiguration[] getChildren(java.lang.String name)
           
 java.lang.String getName()
           
 PlexusConfiguration getParent()
           
 java.lang.String getValue()
           
 java.lang.String getValue(java.lang.String defaultValue)
           
 void setParent(PlexusConfiguration configuration)
           
 

Method Detail

getName

public java.lang.String getName()

getChild

public PlexusConfiguration getChild(java.lang.String child)

getChild

public PlexusConfiguration getChild(java.lang.String child,
                                    boolean createNew)

getChildren

public PlexusConfiguration[] getChildren()

getChildren

public PlexusConfiguration[] getChildren(java.lang.String name)

getAttributeNames

public java.lang.String[] getAttributeNames()

getAttribute

public java.lang.String getAttribute(java.lang.String paramName)
                              throws PlexusConfigurationException
Throws:
PlexusConfigurationException

getValue

public java.lang.String getValue()
                          throws PlexusConfigurationException
Throws:
PlexusConfigurationException

getValue

public java.lang.String getValue(java.lang.String defaultValue)

getAttribute

public java.lang.String getAttribute(java.lang.String name,
                                     java.lang.String defaultValue)

getParent

public PlexusConfiguration getParent()

setParent

public void setParent(PlexusConfiguration configuration)

getChildCount

public int getChildCount()

getChild

public PlexusConfiguration getChild(int i)