abstractfilter.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 659 行 · 第 1/3 页

HTML
659
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#contains(org.geotools.feature.Feature)">contains</A></B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A>&nbsp;feature)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)"><CODE>Filter.evaluate(Feature)</CODE></A></I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#evaluate(java.lang.Object)">evaluate</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>&nbsp;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method checks if the object is an instance of <A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature"><CODE>Feature</CODE></A> and  if so, calls through to <A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)"><CODE>Filter.evaluate(Feature)</CODE></A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;short</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#getFilterType()">getFilterType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>The enumeration base type system is replaced with a class  	based type system. An 'instanceof' check should be made instead of  	calling this method.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#isCompareFilter(short)">isCompareFilter</A></B>(short&nbsp;filterType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if passed type is compare.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#isGeometryDistanceFilter(short)">isGeometryDistanceFilter</A></B>(short&nbsp;filterType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if passed type is geometry distance type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#isGeometryFilter(short)">isGeometryFilter</A></B>(short&nbsp;filterType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if passed type is geometry.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#isLogicFilter(short)">isLogicFilter</A></B>(short&nbsp;filterType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if passed type is logic.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#isMathFilter(short)">isMathFilter</A></B>(short&nbsp;filterType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if passed type is math.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/AbstractFilter.html#isSimpleFilter(short)">isSimpleFilter</A></B>(short&nbsp;filterType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks to see if passed type is logic.</TD></TR></TABLE>&nbsp;<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#accept(org.opengis.filter.FilterVisitor, java.lang.Object)">accept</A>, <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>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE></TD></TR></TABLE>&nbsp;<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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>&nbsp;<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#and(org.geotools.filter.Filter)">and</A>, <A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)">evaluate</A>, <A HREF="../../../org/geotools/filter/Filter.html#not()">not</A>, <A HREF="../../../org/geotools/filter/Filter.html#or(org.geotools.filter.Filter)">or</A></CODE></TD></TR></TABLE>&nbsp;<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>accept</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="LOGGER"><!-- --></A><H3>LOGGER</H3><PRE>protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Logger.html" title="class or interface in java.util.logging">Logger</A> <B>LOGGER</B></PRE><DL><DD>The logger for the default core module.<P><DL></DL></DL><HR><A NAME="filterType"><!-- --></A><H3>filterType</H3><PRE>protected short <B>filterType</B></PRE><DL><DD>Defines filter type (all valid types defined below).<P><DL></DL></DL><HR><A NAME="permissiveConstruction"><!-- --></A><H3>permissiveConstruction</H3><PRE>protected boolean <B>permissiveConstruction</B></PRE><DL><DD>Sets the permissiveness of the filter construction handling.<P><DL></DL></DL><!-- ========= 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="AbstractFilter(org.geotools.filter.FilterFactory)"><!-- --></A><H3>AbstractFilter</H3><PRE>protected <B>AbstractFilter</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A>&nbsp;factory)</PRE><DL><DT><B>Parameters:</B><DD><CODE>factory</CODE> - </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="contains(org.geotools.feature.Feature)"><!-- --></A><H3>contains</H3><PRE>public final boolean <B>contains</B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A>&nbsp;feature)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)"><CODE>Filter.evaluate(Feature)</CODE></A></I><P><DD>Implements a 'contained by' check for a given feature, defaulting to true. <p> This calls through to <A HREF="../../../org/geotools/filter/FilterAbstract.html#evaluate(org.geotools.feature.Feature)"><CODE>FilterAbstract.evaluate(Feature)</CODE></A>. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Filter.html#contains(org.geotools.feature.Feature)">contains</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - Specified feature to examine.<DT><B>Returns:</B><DD>Result of 'contains' test.</DL></DD></DL><HR><A NAME="evaluate(java.lang.Object)"><!-- --></A><H3>evaluate</H3><PRE>public boolean <B>evaluate</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>&nbsp;object)</PRE><DL><DD>This method checks if the object is an instance of <A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature"><CODE>Feature</CODE></A> and  if so, calls through to <A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)"><CODE>Filter.evaluate(Feature)</CODE></A>. This is done  to maintain backwards compatability with previous version of Filter api  which depended on Feature. If the object is not an instance of feature 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?