|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--context.arch.subscriber.Callback
This class is a container for a callback and associated attributes.
Field Summary | |
static java.lang.String |
CALLBACK
Tag for a callback |
static java.lang.String |
CALLBACK_NAME
Tag for the name of the callback |
Constructor Summary | |
Callback()
Empty constructor |
|
Callback(DataObject data)
Constructor that takes a DataObject holding the callback info. |
|
Callback(java.lang.String name,
Attributes atts)
Constructor that takes a name and attributes object |
Method Summary | |
Attributes |
getAttributes()
Returns the attributes for the callback |
java.lang.String |
getName()
Returns the name of the callback |
void |
setAttributes(Attributes atts)
Sets the attributes for the callback |
void |
setName(java.lang.String name)
Sets the name of a callback |
DataObject |
toDataObject()
This method converts the Callback object to a DataObject |
java.lang.String |
toString()
A printable version of this class. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String CALLBACK_NAME
public static final java.lang.String CALLBACK
Constructor Detail |
public Callback()
public Callback(java.lang.String name, Attributes atts)
name
- Name of callback to storeatts
- Attributes of the callbackpublic Callback(DataObject data)
data
- DataObject containing the callback infoMethod Detail |
public DataObject toDataObject()
public void setName(java.lang.String name)
name
- Name of the callback to storepublic void setAttributes(Attributes atts)
atts
- Attributes of the callbackpublic java.lang.String getName()
public Attributes getAttributes()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |