cookxml.core.interfaces
Interface Handler
public interface Handler
This interface is used for setting an attribute value to an object.
- Since:
- CookXml 1.0
- Version:
- $Id: Handler.java 265 2007-06-10 18:47:06Z coconut $
- See Also:
HandlerException
Method Summary |
void |
invoke(String ns,
Object obj,
Object value,
cookxml.core.DecodeEngine decodeEngine)
this function is used to assign the value to the object either through
a function setter or directly through variable assignment. |
invoke
void invoke(String ns,
Object obj,
Object value,
cookxml.core.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
- The decodeEngine that does the parsing.
- Throws:
HandlerException
- in case of error.