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

Method Summary
 void setAttribute(String ns, String tag, String attrNS, String attr, Object obj, Object value, DecodeEngine decodeEngine)
          set the attribute of the object.
 

Method Detail

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 element
attrNS - the namespace of the attribute
attr - the name of the attribute
obj - the object associated with the element
value - 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