cookxml.cookxml.setter
Class TagSetter

java.lang.Object
  extended bycookxml.cookxml.setter.TagSetter
All Implemented Interfaces:
Setter

public class TagSetter
extends Object
implements Setter

This setter set the current tag name.

Since:
CookXml 3.0

Constructor Summary
TagSetter()
           
 
Method Summary
 void setAttribute(String tagNS, String tag, String attrNS, String attr, Object obj, Object value, DecodeEngine decodeEngine)
          set the attribute of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagSetter

public TagSetter()
Method Detail

setAttribute

public void setAttribute(String tagNS,
                         String tag,
                         String attrNS,
                         String attr,
                         Object obj,
                         Object value,
                         DecodeEngine decodeEngine)
                  throws SetterException
Description copied from interface: Setter
set the attribute of the object.

Specified by:
setAttribute in interface Setter
Parameters:
tagNS - 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