| org.codehaus.dna.tools.metaclass.DNAAttributeInterceptor
DNAAttributeInterceptor | public class DNAAttributeInterceptor extends DefaultQDoxAttributeInterceptor implements QDoxAttributeInterceptor(Code) | | This is an Attribute interceptor that invoked during construction
of ClassDescriptors that will process DNA metadata. The processing
involves setting default values for required attributes and resolving
types in type-based attributes.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $ |
determineKey | String determineKey(Attribute attribute, String resolvedType)(Code) | | Calculate key used to lookup dependency.
Parameters: attribute - the attribute Parameters: resolvedType - the type of dependency the key |
getSchemaLocationFor | String getSchemaLocationFor(String classname)(Code) | | Get the location of the schema. By default it is "Foo-schema.xml"
for the com.biz.Foo component.
Parameters: classname - the classname of component the location of the schema |
processClassAttribute | public Attribute processClassAttribute(JavaClass clazz, Attribute attribute)(Code) | | See Also: QDoxAttributeInterceptor.processClassAttribute(JavaClassAttribute) |
processConfigurationAttribute | Attribute processConfigurationAttribute(JavaClass clazz, Attribute attribute)(Code) | | Process a Configuration or Parameters Attribute.
Parameters: clazz - the associated JavaClass Parameters: attribute - the attribute the resultant attribute |
processMethodAttribute | public Attribute processMethodAttribute(JavaMethod method, Attribute attribute)(Code) | | See Also: QDoxAttributeInterceptor.processMethodAttribute(JavaMethodAttribute) |
resolveType | String resolveType(JavaClass javaClass, String type)(Code) | | Resolve the specified type.
Resolving essentially means finding the fully qualified name of
a class from just it's short name.
Parameters: javaClass - the java class relative to which the type must be resolved Parameters: type - the unresolved type the resolved type |
|
|