001package org.biopax.paxtools.query.wrapperL3;
002
003import org.biopax.paxtools.model.level3.Level3Element;
004
005/**
006 * This is the base filter class that can be applied to any level 3 element. The query will traverse
007 * only the objects that this filter lets.
008 *
009 * @author Ozgun Babur
010 */
011public abstract class Filter
012{
013        /**
014         * Checks if it is ok to traverse the given level 3 element.
015         * @param ele level 3 element to check
016         * @return true if ok to traverse
017         */
018        public abstract boolean okToTraverse(Level3Element ele);
019}