cookxml.core.interfaces
Interface Setter
- All Known Implementing Classes:
- AcceleratorSetter, AddSetter, CallFunctionSetter, ColorAndImageSetter, ColorSetter, ColumnSpecSetter, ConstantSetter, CursorSetter, DataSetter, DecoratedWindowSetter, DefaultSetter, DoNothingSetter, FontSetter, FuncSetter, HookReferenceSetter, HookVariableSetter, IdSetter, ImageSetter, LabelForSetter, ListSelectionListenerSetter, ObjectOrHookVariableSetter, OriginSetter, PropertyChangeListenerSetter, ResourceBundleSetter, RowSpecSetter, SetasSetter, SetControlSetter, TagSetter, VarSetter
- public interface Setter
This interface is used by all setters that handle request to set a value to the object.
- Since:
- CookXml 1.0
- See Also:
SetterException
setAttribute
public void setAttribute(String ns,
String tag,
String attrNS,
String attr,
Object obj,
Object value,
DecodeEngine decodeEngine)
throws SetterException
- set the attribute of the object.
- Parameters:
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. @throws SetterException
- Throws:
SetterException