cookxml.core.interfaces
Interface Handler

All Known Implementing Classes:
FunctionHandler, VariableHandler

public interface Handler

This interface is used for setting an attribute value to an object.

Since:
CookXml 1.0
See Also:
HandlerException

Method Summary
 boolean invoke(String ns, Object obj, Object value, DecodeEngine decodeEngine)
          this function is used to assign the value to the object either through a function setter or directly through variable assignment.
 

Method Detail

invoke

public boolean invoke(String ns,
                      Object obj,
                      Object value,
                      DecodeEngine decodeEngine)
               throws HandlerException
this function is used to assign the value to the object either through a function setter or directly through variable assignment.

Parameters:
ns - the namespace of the element being used.
obj - the object where the function or the variable is located in.
value - the actual value to be set.
decodeEngine -
Throws:
HandlerException