com.ca.commons.datamodel.annotations
Class MetaDataDefsToXMLApf

java.lang.Object
  extended by com.ca.commons.datamodel.annotations.MetaDataDefsToXMLApf

public class MetaDataDefsToXMLApf
extends Object


Field Summary
static String NULL_VALUE
           
static String USAGE_INFO_FILE
          File from which MetaDataUsageInfo information generated by looking for META_DATA_USAGE_ANNOTATION annotations in MetaDataDefs, is written by this class.
 
Constructor Summary
MetaDataDefsToXMLApf()
           
 
Method Summary
 AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> declarations, AnnotationProcessorEnvironment env)
          Returns a note annotation processor.
 Collection<String> supportedAnnotationTypes()
          This factory only builds processors for the MetaDataUsage annotation, whilst also making use of the Deprecated annotation.
 Collection<String> supportedOptions()
          No options are supported by this annotation processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USAGE_INFO_FILE

public static final String USAGE_INFO_FILE
File from which MetaDataUsageInfo information generated by looking for META_DATA_USAGE_ANNOTATION annotations in MetaDataDefs, is written by this class.

See Also:
Constant Field Values

NULL_VALUE

public static final String NULL_VALUE
See Also:
Constant Field Values
Constructor Detail

MetaDataDefsToXMLApf

public MetaDataDefsToXMLApf()
Method Detail

getProcessorFor

public AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> declarations,
                                           AnnotationProcessorEnvironment env)
Returns a note annotation processor.

Returns:
An annotation processor for note annotations if requested, otherwise, returns the NO_OP annotation processor.

supportedAnnotationTypes

public Collection<String> supportedAnnotationTypes()
This factory only builds processors for the MetaDataUsage annotation, whilst also making use of the Deprecated annotation.

Returns:
a collection containing the annotation names which are relevant to this processor.

supportedOptions

public Collection<String> supportedOptions()
No options are supported by this annotation processor.

Returns:
an empty list.


Created 2009-10-09 16:43 EST