public interface Setter
| Modifier and Type | Method and Description |
|---|---|
void |
setAttribute(java.lang.String ns,
java.lang.String tag,
java.lang.String attrNS,
java.lang.String attr,
java.lang.Object obj,
java.lang.Object value,
cookxml.core.DecodeEngine decodeEngine)
Set an attribute of the object.
|
void setAttribute(java.lang.String ns,
java.lang.String tag,
java.lang.String attrNS,
java.lang.String attr,
java.lang.Object obj,
java.lang.Object value,
cookxml.core.DecodeEngine decodeEngine)
throws java.lang.Exception
ns - the namespace of the element.tag - the tag of the elementattrNS - the namespace of the attributeattr - the name of the attributeobj - the object associated with the elementvalue - the value of the object. We didn't use the String type because it is
entirely possible for an object of the child elements to call the setter.decodeEngine - the DecodeEngine being used.java.lang.Exception - If the exception is not a SetterException,
then it is wrapped inside one by the DecodeEngine and handled by the
ExceptionHandler.