📄 logicfilterimpl.html
字号:
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> extraData)</CODE><BR> Used by FilterVisitors to perform some action on this filter instance. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#addFilter(org.geotools.filter.Filter)">addFilter</A></B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Adds a sub filter to this filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#and(org.geotools.filter.Filter)">and</A></B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Implements a logical AND with this filter and returns the merged filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> obj)</CODE><BR> Compares this filter to the specified object. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#evaluate(org.geotools.feature.Feature)">evaluate</A></B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</CODE><BR> Determines whether or not a given feature is 'inside' this filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#getFilterIterator()">getFilterIterator</A></B>()</CODE><BR> Gets an iterator for the filters held by this logic filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#hashCode()">hashCode</A></B>()</CODE><BR> Override of hashCode method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#not()">not</A></B>()</CODE><BR> Implements a logical NOT with this filter and returns the merged filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#or(org.geotools.filter.Filter)">or</A></B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Implements a logical OR with this filter and returns the merged filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/LogicFilterImpl.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this filter.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_BinaryLogicAbstract"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html" title="class in org.geotools.filter">BinaryLogicAbstract</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html#getChildren()">getChildren</A>, <A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html#setChildren(java.util.List)">setChildren</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractFilter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/filter/AbstractFilter.html" title="class in org.geotools.filter">AbstractFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/AbstractFilter.html#accept(org.geotools.filter.FilterVisitor)">accept</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#contains(org.geotools.feature.Feature)">contains</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#evaluate(java.lang.Object)">evaluate</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#getFilterType()">getFilterType</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isCompareFilter(short)">isCompareFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isGeometryDistanceFilter(short)">isGeometryDistanceFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isGeometryFilter(short)">isGeometryFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isLogicFilter(short)">isLogicFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isMathFilter(short)">isMathFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isSimpleFilter(short)">isSimpleFilter</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_FilterAbstract"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/filter/FilterAbstract.html" title="class in org.geotools.filter">FilterAbstract</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html#accepts(org.geotools.feature.Feature)">accepts</A>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#comparable(org.opengis.filter.expression.Expression, org.geotools.feature.Feature)">comparable</A>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#eval(org.geotools.filter.Expression, org.geotools.feature.Feature)">eval</A>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#eval(org.opengis.filter.expression.Expression, java.lang.Object)">eval</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_LogicFilter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/filter/LogicFilter.html" title="interface in org.geotools.filter">LogicFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/LogicFilter.html#contains(org.geotools.feature.Feature)">contains</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Filter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/Filter.html#accept(org.geotools.filter.FilterVisitor)">accept</A>, <A HREF="../../../org/geotools/filter/Filter.html#getFilterType()">getFilterType</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Filter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface Filter</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>evaluate</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_BinaryLogicOperator"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface BinaryLogicOperator</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getChildren</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="LogicFilterImpl(org.geotools.filter.FilterFactory)"><!-- --></A><H3>LogicFilterImpl</H3><PRE>protected <B>LogicFilterImpl</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory)</PRE><DL></DL><HR><A NAME="LogicFilterImpl(org.geotools.filter.FilterFactory, java.util.List)"><!-- --></A><H3>LogicFilterImpl</H3><PRE>protected <B>LogicFilterImpl</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> children)</PRE><DL></DL><HR><A NAME="LogicFilterImpl(short)"><!-- --></A><H3>LogicFilterImpl</H3><PRE>protected <B>LogicFilterImpl</B>(short filterType) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>Consructing with type constants should be replaced with an actual java type.</I><P><DD>Constructor with type (must be valid).<P><DT><B>Parameters:</B><DD><CODE>filterType</CODE> - The final relation between all sub filters.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - If the filtertype is not a logic type.</DL><HR><A NAME="LogicFilterImpl(org.geotools.filter.Filter, short)"><!-- --></A><H3>LogicFilterImpl</H3><PRE>protected <B>LogicFilterImpl</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter, short filterType) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD>Convenience constructor to create a NOT logic filter.<P><DT><B>Parameters:</B><DD><CODE>filter</CODE> - The initial sub filter.<DD><CODE>filterType</CODE> - The final relation between all sub filters.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - Does not conform to logic filter structure</DL><HR><A NAME="LogicFilterImpl(org.geotools.filter.Filter, org.geotools.filter.Filter, short)"><!-- --></A><H3>LogicFilterImpl</H3><PRE>protected <B>LogicFilterImpl</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter1, <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter2, short filterType) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD>Convenience constructor to create an AND/OR logic filter.<P><DT><B>Parameters:</B><DD><CODE>filter1</CODE> - An initial sub filter.<DD><CODE>filter2</CODE> - An initial sub filter.<DD><CODE>filterType</CODE> - The final relation between all sub filters.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - Does not conform to logic filter structure</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="addFilter(org.geotools.filter.Filter)"><!-- --></A><H3>addFilter</H3><PRE>public final void <B>addFilter</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD>Adds a sub filter to this filter.<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -