com.im.df.api 5.9

com.im.df.api.capabilities
Interface XAttributeCapability

All Superinterfaces:
DFCapability

public interface XAttributeCapability
extends DFCapability

A Capability providing methods for accessing XAttributes key-value pairs ().


Field Summary
static String PROP_XATTRIBUTES
           
 
Method Summary
 void clearXAttribute(String key, DFEnvironmentRW env)
          Clears the XAttribute of given key.
 String getXAttribute(String key)
          Gets the value of given XAttribute.
 void putXAttribute(String key, String value, DFEnvironmentRW env)
          Sets the XAttribute of given key-value pair.
 

Field Detail

PROP_XATTRIBUTES

static final String PROP_XATTRIBUTES
See Also:
Constant Field Values
Method Detail

putXAttribute

void putXAttribute(String key,
                   String value,
                   DFEnvironmentRW env)
Sets the XAttribute of given key-value pair.

Parameters:
key - The key of XAttribute to be set.
value - The value of XAttribute to be set.
env - The environment under which the clearXAttribute should be performed

getXAttribute

String getXAttribute(String key)
Gets the value of given XAttribute.

Parameters:
key - The key of XAttribute.
Returns:
The value of XAttributes

clearXAttribute

void clearXAttribute(String key,
                     DFEnvironmentRW env)
Clears the XAttribute of given key.

Parameters:
key - The key of XAttribute to clear.
env - The environment under which the clearXAttribute should be performed

com.im.df.api 5.9