public class Profile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Profile.NAMESPACE
Supported NAMESPACES.
|
Modifier and Type | Field and Description |
---|---|
protected String |
mKey
Key of the profile
|
protected String |
mNamespace
Namespace of the profile
|
protected String |
mValue
Value of the profile
|
Constructor and Description |
---|
Profile(Profile.NAMESPACE namespace,
String key,
String value) |
Profile(Profile p)
Copy constructor
|
Profile(String namespace,
String key)
Create a new Profile object
|
Profile(String namespace,
String key,
String value)
Create a new Profile object
|
Modifier and Type | Method and Description |
---|---|
Profile |
clone()
Create a copy of this Profile
|
String |
getKey()
Get the key of this Profile
|
String |
getNameSpace()
Get the namespace of this profile
|
String |
getValue()
Get the value of this profile
|
Profile |
setValue(String value)
Set the value of this Profile
|
void |
toXML(XMLWriter writer) |
void |
toXML(XMLWriter writer,
int indent) |
protected String mNamespace
protected String mKey
protected String mValue
public Profile(String namespace, String key)
namespace
- key
- public Profile(String namespace, String key, String value)
namespace
- key
- value
- public Profile(Profile.NAMESPACE namespace, String key, String value)
namespace
- key
- value
- public Profile(Profile p)
p
- public String getKey()
public String getNameSpace()
public String getValue()
public Profile setValue(String value)
value
- public Profile clone()
public void toXML(XMLWriter writer)
public void toXML(XMLWriter writer, int indent)
Copyright © 2011 The University of Southern California. All Rights Reserved.