Package org.biojava.bio.seq.filter
Class FilterTransformer
java.lang.Object
org.biojava.bio.seq.filter.FilterTransformer
- All Implemented Interfaces:
Visitor
Base-class for visitors that re-write a filter tree.
This filter transformer will just duplicate a tree, using the same leaf instances, and re-creating all logical filters, like And and ByDescendant.
- Author:
- Matthew Pocock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand
(FeatureFilter.And and, FeatureFilter c1, FeatureFilter c2) byAncestor
(FeatureFilter.ByAncestor ancestor, FeatureFilter c) byChild
(FeatureFilter.ByChild child, FeatureFilter c) byParent
(FeatureFilter.ByParent parent, FeatureFilter c) featureFilter
(FeatureFilter filter) not
(FeatureFilter.Not not, FeatureFilter c) or
(FeatureFilter.Or or, FeatureFilter c1, FeatureFilter c2)
-
Constructor Details
-
FilterTransformer
public FilterTransformer()
-
-
Method Details
-
featureFilter
-
and
-
or
-
not
-
byParent
-
byAncestor
-
onlyChildren
-
onlyDescendants
-
byChild
-
byDescendant
-