public class XmlPlexusConfiguration extends Object implements PlexusConfiguration
Constructor and Description |
---|
XmlPlexusConfiguration(String name) |
XmlPlexusConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom dom) |
Modifier and Type | Method and Description |
---|---|
void |
addAllChildren(PlexusConfiguration other) |
void |
addChild(PlexusConfiguration configuration) |
String |
getAttribute(String name) |
String |
getAttribute(String name,
String defaultValue) |
String[] |
getAttributeNames() |
PlexusConfiguration |
getChild(int i) |
PlexusConfiguration |
getChild(String name) |
PlexusConfiguration |
getChild(String name,
boolean createChild) |
int |
getChildCount() |
PlexusConfiguration[] |
getChildren() |
PlexusConfiguration[] |
getChildren(String name) |
String |
getName() |
String |
getValue() |
String |
getValue(String defaultValue) |
org.codehaus.plexus.util.xml.Xpp3Dom |
getXpp3Dom() |
void |
setAttribute(String name,
String value) |
void |
setValue(String value) |
String |
toString() |
public XmlPlexusConfiguration(String name)
public XmlPlexusConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom dom)
public org.codehaus.plexus.util.xml.Xpp3Dom getXpp3Dom()
public String getName()
getName
in interface PlexusConfiguration
public String getValue()
getValue
in interface PlexusConfiguration
public String getValue(String defaultValue)
getValue
in interface PlexusConfiguration
public void setValue(String value)
public String getAttribute(String name, String defaultValue)
getAttribute
in interface PlexusConfiguration
public String getAttribute(String name)
getAttribute
in interface PlexusConfiguration
public String[] getAttributeNames()
getAttributeNames
in interface PlexusConfiguration
public PlexusConfiguration getChild(String name)
getChild
in interface PlexusConfiguration
public PlexusConfiguration getChild(int i)
getChild
in interface PlexusConfiguration
public PlexusConfiguration getChild(String name, boolean createChild)
getChild
in interface PlexusConfiguration
public PlexusConfiguration[] getChildren()
getChildren
in interface PlexusConfiguration
public PlexusConfiguration[] getChildren(String name)
getChildren
in interface PlexusConfiguration
public void addChild(PlexusConfiguration configuration)
addChild
in interface PlexusConfiguration
public void addAllChildren(PlexusConfiguration other)
public int getChildCount()
getChildCount
in interface PlexusConfiguration
Copyright © 2001-2013 Codehaus. All Rights Reserved.