public class PackageFilter extends AbstractFilter<JElement> implements JElementFilter
Constructor and Description |
---|
PackageFilter() |
PackageFilter(JPackage... packages) |
PackageFilter(Package... packages) |
PackageFilter(String... packageNames) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(JElement element)
Tests if a specified element should be matched.
|
targetType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
targetType
public PackageFilter()
public PackageFilter(Package... packages)
public PackageFilter(JPackage... packages)
public PackageFilter(String... packageNames)
public boolean accept(JElement element)
JElementFilter
accept
in interface JElementFilter
accept
in interface Filter<JElement>
element
- the element bing testedtrue
if and only if the element should be included in the list; false
otherwise.Copyright © 2010–2018 Jadira Systems. All rights reserved.