org.codehaus.metaclass.tools.qdox
Class DefaultQDoxAttributeInterceptor

java.lang.Object
  extended byorg.codehaus.metaclass.tools.qdox.DefaultQDoxAttributeInterceptor
All Implemented Interfaces:
QDoxAttributeInterceptor
Direct Known Subclasses:
NonNamespaceAttributeRemovingInterceptor

public class DefaultQDoxAttributeInterceptor
extends java.lang.Object
implements QDoxAttributeInterceptor

A base implementation of QDoxAttributeInterceptor that just returns original values parsed from source files.

Version:
$Revision: 1.3 $ $Date: 2003/11/27 08:08:04 $
Author:
Peter Donald

Constructor Summary
DefaultQDoxAttributeInterceptor()
           
 
Method Summary
 Attribute processClassAttribute(com.thoughtworks.qdox.model.JavaClass clazz, Attribute attribute)
          Return unaltered attributes for artefact.
 Attribute[] processClassAttributes(com.thoughtworks.qdox.model.JavaClass clazz, Attribute[] attributes)
          Return unaltered attributes for artefact.
 Attribute processFieldAttribute(com.thoughtworks.qdox.model.JavaField field, Attribute attribute)
          Return unaltered attribute for artefact.
 Attribute[] processFieldAttributes(com.thoughtworks.qdox.model.JavaField field, Attribute[] attributes)
          Return unaltered attributes for artefact.
 Attribute processMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method, Attribute attribute)
          Return unaltered attribute for artefact.
 Attribute[] processMethodAttributes(com.thoughtworks.qdox.model.JavaMethod method, Attribute[] attributes)
          Return unaltered attributes for artefact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultQDoxAttributeInterceptor

public DefaultQDoxAttributeInterceptor()
Method Detail

processClassAttribute

public Attribute processClassAttribute(com.thoughtworks.qdox.model.JavaClass clazz,
                                       Attribute attribute)
Return unaltered attributes for artefact.

Specified by:
processClassAttribute in interface QDoxAttributeInterceptor
Parameters:
clazz - the JavaClass
attribute - the attribute
Returns:
the original attribute

processFieldAttribute

public Attribute processFieldAttribute(com.thoughtworks.qdox.model.JavaField field,
                                       Attribute attribute)
Return unaltered attribute for artefact.

Specified by:
processFieldAttribute in interface QDoxAttributeInterceptor
Parameters:
field - the JavaField
attribute - the attribute
Returns:
the original attribute

processMethodAttribute

public Attribute processMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method,
                                        Attribute attribute)
Return unaltered attribute for artefact.

Specified by:
processMethodAttribute in interface QDoxAttributeInterceptor
Parameters:
method - the JavaMethod
attribute - the attribute
Returns:
the original attribute

processClassAttributes

public Attribute[] processClassAttributes(com.thoughtworks.qdox.model.JavaClass clazz,
                                          Attribute[] attributes)
Return unaltered attributes for artefact.

Specified by:
processClassAttributes in interface QDoxAttributeInterceptor
Parameters:
clazz - the JavaClass
attributes - the attributes
Returns:
the original attributes

processFieldAttributes

public Attribute[] processFieldAttributes(com.thoughtworks.qdox.model.JavaField field,
                                          Attribute[] attributes)
Return unaltered attributes for artefact.

Specified by:
processFieldAttributes in interface QDoxAttributeInterceptor
Parameters:
field - the JavaField
attributes - the attributes
Returns:
the original attributes

processMethodAttributes

public Attribute[] processMethodAttributes(com.thoughtworks.qdox.model.JavaMethod method,
                                           Attribute[] attributes)
Return unaltered attributes for artefact.

Specified by:
processMethodAttributes in interface QDoxAttributeInterceptor
Parameters:
method - the JavaMethod
attributes - the attributes
Returns:
the original attributes


Copyright © 2003-2004 Codehaus. All Rights Reserved.