public interface Adder
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String parentNS,
java.lang.String parentTag,
java.lang.Object parent,
java.lang.Object child,
cookxml.core.DecodeEngine decodeEngine)
Add the child to the parent.
|
boolean add(java.lang.String parentNS, java.lang.String parentTag, java.lang.Object parent, java.lang.Object child, cookxml.core.DecodeEngine decodeEngine) throws java.lang.Exception
parentNS
- the parent tag namespace.parentTag
- the parent tag name.parent
- the parent object.child
- the child object.decodeEngine
- the DecodeEngine instance being used.java.lang.Exception
- If the exception is not a AdderException
,
then it is wrapped inside one by the DecodeEngine and handled by the
ExceptionHandler
.