|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.ws.context.Context
public abstract class Context
Provides functionality common to all Context classes.
Constructor Summary | |
---|---|
Context()
|
Method Summary | |
---|---|
Object |
getAttribute(String name)
Returns the object associated with the given attribute name in this context. |
Set |
getAttributeNames()
Returns the names of all attributes in this context. |
void |
removeAttribute(String name)
Removes the attribute with the given name from this context. |
void |
reset()
Resets the state of this context, so that it can be reused by a subsequent message exchange. |
void |
setAttribute(String name,
Object value)
Binds an object to a given attribute name in this context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Context()
Method Detail |
---|
public final Object getAttribute(String name)
null
if no
attribute exists by the given name.
name
- the name of the attribute
null
if no attribute exists matching the
given namepublic final Set getAttributeNames()
String
s of all attributes names.public final void removeAttribute(String name)
getAttribute(String)
for this name will return null
.
name
- the name of the attribute to be removedpublic final void setAttribute(String name, Object value)
name
- the name of the attribute to addvalue
- the object to associate with this attribute namepublic void reset()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |