cookxml.core.doclet
Interface DocletSetter

All Superinterfaces:
Setter
All Known Implementing Classes:
DefaultSetter

public interface DocletSetter
extends Setter

This interface should be extended by all general setters (that is the ones used by DecodeEngine as default in case of missing specific setter for a tag) that wish to to report potential candidates of attributes.

This interface is used by CookXmlDoc to discover the list of candiate attributes for a given tag.

Since:
CookXml 3.1
Version:
$Id: DocletSetter.java 244 2007-06-07 04:29:13Z coconut $

Method Summary
 String[] getAttributes(Class className)
          This function reports potential attributes that can be handled by this setter for a given class.
 
Methods inherited from interface cookxml.core.interfaces.Setter
setAttribute
 

Method Detail

getAttributes

String[] getAttributes(Class className)
This function reports potential attributes that can be handled by this setter for a given class. Usually it is done through reflection.

Parameters:
className - the class interested in.
Returns:
an non-null array of possible attributes.