org.apache.tools.ant.taskdefs.optional.junit
Class AggregateTransformer.PackageFilter

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.PackageFilter
All Implemented Interfaces:
DOMUtil.NodeFilter
Enclosing class:
AggregateTransformer

protected static class AggregateTransformer.PackageFilter
extends java.lang.Object
implements DOMUtil.NodeFilter

allow us to check if the node is a object of a specific package.


Method Summary
 boolean accept(org.w3c.dom.Node node)
          if the node receive is not a element then return false check if the node is a class of this package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

accept

public boolean accept(org.w3c.dom.Node node)
if the node receive is not a element then return false check if the node is a class of this package.
Specified by:
accept in interface DOMUtil.NodeFilter
Following copied from interface: org.apache.tools.ant.taskdefs.optional.junit.DOMUtil.NodeFilter
Parameters:
node - the node to check for acceptance.
Returns:
true if the node is accepted by this filter, otherwise false


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.