org.codehaus.metaclass.tools.qdox
Class NonNamespaceAttributeRemovingInterceptor

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

public class NonNamespaceAttributeRemovingInterceptor
extends DefaultQDoxAttributeInterceptor

Interceptor that only returns attributes if they have a namespace. Attributes with namespace have names of the form <namespace>.<name>.

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

Field Summary
static NonNamespaceAttributeRemovingInterceptor INTERCEPTOR
          Constant containing an instance of interceptor.
 
Constructor Summary
NonNamespaceAttributeRemovingInterceptor()
           
 
Method Summary
 Attribute processClassAttribute(com.thoughtworks.qdox.model.JavaClass clazz, Attribute attribute)
          Return unaltered attributes for artefact.
 Attribute processFieldAttribute(com.thoughtworks.qdox.model.JavaField field, Attribute attribute)
          Return unaltered attribute for artefact.
 Attribute processMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method, Attribute attribute)
          Return unaltered attribute for artefact.
 
Methods inherited from class org.codehaus.metaclass.tools.qdox.DefaultQDoxAttributeInterceptor
processClassAttributes, processFieldAttributes, processMethodAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERCEPTOR

public static final NonNamespaceAttributeRemovingInterceptor INTERCEPTOR
Constant containing an instance of interceptor.

Constructor Detail

NonNamespaceAttributeRemovingInterceptor

public NonNamespaceAttributeRemovingInterceptor()
Method Detail

processClassAttribute

public Attribute processClassAttribute(com.thoughtworks.qdox.model.JavaClass clazz,
                                       Attribute attribute)
Description copied from class: DefaultQDoxAttributeInterceptor
Return unaltered attributes for artefact.

Specified by:
processClassAttribute in interface QDoxAttributeInterceptor
Overrides:
processClassAttribute in class DefaultQDoxAttributeInterceptor
Parameters:
clazz - the JavaClass
attribute - the attribute
Returns:
the original attribute
See Also:
DefaultQDoxAttributeInterceptor.processClassAttribute(com.thoughtworks.qdox.model.JavaClass, org.codehaus.metaclass.model.Attribute)

processFieldAttribute

public Attribute processFieldAttribute(com.thoughtworks.qdox.model.JavaField field,
                                       Attribute attribute)
Description copied from class: DefaultQDoxAttributeInterceptor
Return unaltered attribute for artefact.

Specified by:
processFieldAttribute in interface QDoxAttributeInterceptor
Overrides:
processFieldAttribute in class DefaultQDoxAttributeInterceptor
Parameters:
field - the JavaField
attribute - the attribute
Returns:
the original attribute
See Also:
DefaultQDoxAttributeInterceptor.processFieldAttribute(com.thoughtworks.qdox.model.JavaField, org.codehaus.metaclass.model.Attribute)

processMethodAttribute

public Attribute processMethodAttribute(com.thoughtworks.qdox.model.JavaMethod method,
                                        Attribute attribute)
Description copied from class: DefaultQDoxAttributeInterceptor
Return unaltered attribute for artefact.

Specified by:
processMethodAttribute in interface QDoxAttributeInterceptor
Overrides:
processMethodAttribute in class DefaultQDoxAttributeInterceptor
Parameters:
method - the JavaMethod
attribute - the attribute
Returns:
the original attribute
See Also:
DefaultQDoxAttributeInterceptor.processMethodAttribute(com.thoughtworks.qdox.model.JavaMethod, org.codehaus.metaclass.model.Attribute)


Copyright © 2003-2004 Codehaus. All Rights Reserved.