Modifier and Type | Method and Description |
---|---|
static Setter |
getInstance() |
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.
|
public static Setter getInstance()
public 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 SetterException
Setter
setAttribute
in interface Setter
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.SetterException