public class CompoundAdder extends java.lang.Object implements Adder, DocletActionReporter
InheritableTagLibrary
Constructor and Description |
---|
CompoundAdder() |
Modifier and Type | Method and Description |
---|---|
void |
add(Adder adder) |
boolean |
add(java.lang.String ns,
java.lang.String parentTag,
java.lang.Object parent,
java.lang.Object child,
cookxml.core.DecodeEngine decodeEngine)
Add the child to the parent.
|
java.lang.Object[] |
getActions(TagLibrary tagLibrary,
java.lang.String tagNS,
java.lang.String tag,
java.lang.String attrNS,
java.lang.String attr,
java.lang.Class cl)
This function returns the related function/constructor/field/methods that
is called by creator/setter etc.
|
static Adder |
getAdder(Adder oldAdder,
Adder newAdder) |
java.lang.String |
toString() |
public boolean add(java.lang.String ns, java.lang.String parentTag, java.lang.Object parent, java.lang.Object child, cookxml.core.DecodeEngine decodeEngine) throws java.lang.Exception
Adder
add
in interface Adder
ns
- 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
.public void add(Adder adder)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object[] getActions(TagLibrary tagLibrary, java.lang.String tagNS, java.lang.String tag, java.lang.String attrNS, java.lang.String attr, java.lang.Class cl)
DocletActionReporter
getActions
in interface DocletActionReporter
tagLibrary
- the tag library being used.tagNS
- the namespace of the tagtag
- possible tagattrNS
- the namespace of the attributeattr
- the attributecl
- the possible class