cookxml.core.interfaces
Interface AddAction
public interface AddAction
This action dictates how DecodeEngine should perform its addChild function.
This action is used internally by CookXml to deal with possible actions of
setas, func, add, etc. Do not use this interface over Adder interface.
- Since:
- CookXml 3.0
- Version:
- $Id: AddAction.java 218 2007-06-06 06:10:10Z coconut $
Method Summary |
void |
addChild(cookxml.core.DecodeEngine decodeEngine,
String ns,
String tag,
Element elm,
Object parentObj,
Object childObj)
This function performs the actual addition of the child object to
the parent object. |
addChild
void addChild(cookxml.core.DecodeEngine decodeEngine,
String ns,
String tag,
Element elm,
Object parentObj,
Object childObj)
throws CookXmlException
- This function performs the actual addition of the child object to
the parent object.
- Parameters:
decodeEngine
- the DecodeEngine instance being used.ns
- the parent tag namespace.tag
- the parent tag name.elm
- the element of the currentparentObj
- the parent objectchildObj
- the child object
- Throws:
CookXmlException
- the exception thrown when error occurs. Exceptions that are not
CookXmlException should be wrapped inside a CookXmlException.