public class Profile extends BaseNamespaceComponent implements Serializable
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(String name,
String value)
Adds a new element to this namespace registry.
|
void |
addElement(String namespace,
String name,
String value)
Adds a namespace element for the given namespace with the given name and
value.
|
String |
get(String name)
Gets the profile value (if one is available)
for the given name, otherwise returns name.
|
void |
initialize()
Initializes this profile instance.
|
static Profile |
instance()
Gets the shared instance of this class.
|
void |
refresh()
Refreshes the profile instance.
|
void |
shutdown()
Shuts down the shared instance and releases any used resources.
|
getNamespace, getResource, setNamespace, setResource
public Profile()
public static Profile instance()
public void addElement(String name, String value)
name
- value
- public String get(String name)
name
- the profile name to retrieve.public void initialize()
public void refresh()
public void addElement(String namespace, String name, String value)
namespace
- the namespace for which to add the namespace element.name
- the element name.value
- the element value.public void shutdown()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.