org.exolab.castor.builder
Interface AnnotationBuilder
public interface AnnotationBuilder
addClassAnnotations
public void addClassAnnotations(ClassInfo classInfo,
JClass jClass)
add annotations to a JClass.
classInfo
- the classInfojClass
- the jClass
addEnumAnnotations
public void addEnumAnnotations(SimpleType simpleType,
JEnum jEnums)
add annotations to a java5 enum.
simpleType
- the corresponding simpleTypejEnums
- the jEnum
addEnumConstantAnnotations
public void addEnumConstantAnnotations(Facet facet,
JEnumConstant enumConstant)
add annotations to a java5 enum constant.
facet
- the corresponding facetenumConstant
- the jEnumConstant
addFieldAnnotations
public void addFieldAnnotations(FieldInfo fieldInfo,
JField field)
add annotation to a property definition.
fieldInfo
- the fieldInfofield
- the jField
addFieldGetterAnnotations
public void addFieldGetterAnnotations(FieldInfo fieldInfo,
JMethod method)
add annotations to a getter of a property.
fieldInfo
- the fieldInfomethod
- the getter method
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com