de.smartics.analysis.javadoc.filter
Class AcceptAllFilter

Package class diagram package AcceptAllFilter
java.lang.Object
  extended by de.smartics.analysis.javadoc.filter.AcceptAllFilter
All Implemented Interfaces:
Filter, Serializable

public class AcceptAllFilter
     
     
extends Object
implements Filter, Serializable

Accepts all, rejects nothing.

Author:
Robert Reiner
See Also:
Serialized Form

Constructor Summary
AcceptAllFilter()
          Default constructor.
 
Method Summary
 com.sun.javadoc.Doc accept(com.sun.javadoc.Doc doc)
          Filters the given Javadoc information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptAllFilter

public AcceptAllFilter()
Default constructor.

Method Detail

accept

public com.sun.javadoc.Doc accept(com.sun.javadoc.Doc doc)
Filters the given Javadoc information.

If the given argument is null, null is returned. This implies that the given information is not accepted.

Specified by:
accept in interface Filter
Parameters:
doc - the Javadoc information to check for filtering.
See Also:
Filter.accept(com.sun.javadoc.Doc)
Returns:
null if the element is not to accepted, an instance of Doc if is is. Note that the returned Doc may be a sub element of the Doc element passed as argument.


Copyright © 2008-2011 Kronseder & Reiner GmbH - smartics. All Rights Reserved.