org.codehaus.metaclass.tools.qdox
Class NonNamespaceAttributeRemovingInterceptor
java.lang.Object
org.codehaus.metaclass.tools.qdox.DefaultQDoxAttributeInterceptor
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERCEPTOR
public static final NonNamespaceAttributeRemovingInterceptor INTERCEPTOR
- Constant containing an instance of interceptor.
NonNamespaceAttributeRemovingInterceptor
public NonNamespaceAttributeRemovingInterceptor()
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 JavaClassattribute
- 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 JavaFieldattribute
- 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 JavaMethodattribute
- 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.