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