|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.servletspy.ctx.Context
| Constructor Summary | |
Context(java.lang.String name,
java.lang.Object pSubject,
IContextHandler[] pTransformers)
Constructor. |
|
| Method Summary | |
void |
add(java.lang.String name,
java.lang.Object pSubject)
Asks the engine to do a serialization for the provided subject. |
java.util.Map |
getIntrospectedMap()
Returns the map holding the already serialized subjects. |
java.lang.String |
getName()
Returns the name of the current serialization task. |
Node |
getNode()
Returns the node associated with this context. |
java.lang.Object |
getSubject()
Returns the current subject, the object to be serialized. |
java.lang.String |
getValue()
Returns the current result of the serialization task. |
void |
invalidate()
Invalidates the current context. |
void |
proceed()
Passes the serialization task to the next handler. |
void |
setSubject(java.lang.Object pSubject)
Replaces the current subject by the provided object. |
void |
setValue(java.lang.String value)
Sets the result of the serialization task. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Context(java.lang.String name,
java.lang.Object pSubject,
IContextHandler[] pTransformers)
name - The name of the context.pSubject - The object to serializepTransformers - The chain of transformers responsible for the serialization
task.| Method Detail |
public void add(java.lang.String name,
java.lang.Object pSubject)
IContext
add in interface IContextname - The name of subjectpSubject - The subject to be serializedpublic java.util.Map getIntrospectedMap()
public java.lang.String getName()
IContext
getName in interface IContextpublic Node getNode()
public java.lang.Object getSubject()
IContext
getSubject in interface IContextpublic java.lang.String getValue()
IContext
getValue in interface IContextpublic void invalidate()
IContext
invalidate in interface IContextpublic void proceed()
IContext
proceed in interface IContextpublic void setSubject(java.lang.Object pSubject)
IContext
setSubject in interface IContextpSubject - The new subject.public void setValue(java.lang.String value)
IContext
setValue in interface IContextvalue - The result
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||