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
addChild
public void addChild(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.