📄 geometryfilterimpl.html
字号:
<B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#setExpression1(org.opengis.filter.expression.Expression)"><CODE>setExpression1(org.opengis.filter.expression.Expression)</CODE></A></I></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/GeometryFilterImpl.html#addRightGeometry(org.geotools.filter.Expression)">addRightGeometry</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> rightGeometry)</CODE><BR> <B>Deprecated.</B> <I>use <CODE>#set</CODE></I></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/GeometryFilterImpl.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/GeometryFilterImpl.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="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#getLeftGeometry()">getLeftGeometry</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use <CODE>BinarySpatialOperator.getExpression1()</CODE></I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#getLeftGeometry(org.geotools.feature.Feature)">getLeftGeometry</A></B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</CODE><BR> Subclass convenience method for returning left expression as a JTS geometry.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#getRightGeometry()">getRightGeometry</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use <CODE>BinarySpatialOperator.getExpression2()</CODE></I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#getRightGeometry(org.geotools.feature.Feature)">getRightGeometry</A></B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</CODE><BR> Subclass convenience method for returning right expression as a JTS geometry.</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/GeometryFilterImpl.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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#setExpression1(org.opengis.filter.expression.Expression)">setExpression1</A></B>(Expression expression)</CODE><BR> </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/GeometryFilterImpl.html#setExpression2(org.opengis.filter.expression.Expression)">setExpression2</A></B>(Expression expression)</CODE><BR> </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/GeometryFilterImpl.html#toString()">toString</A></B>()</CODE><BR> Return this filter as a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#validate(org.geotools.feature.Feature)">validate</A></B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</CODE><BR> Subclass convenience method for validating the internals of the</TD></TR></TABLE> <A NAME="methods_inherited_from_class_BinaryComparisonAbstract"><!-- --></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/BinaryComparisonAbstract.html" title="class in org.geotools.filter">BinaryComparisonAbstract</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html#and(org.geotools.filter.Filter)">and</A>, <A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html#getExpression1()">getExpression1</A>, <A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html#getExpression2()">getExpression2</A>, <A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html#not()">not</A>, <A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html#or(org.geotools.filter.Filter)">or</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#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></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_GeometryFilter"><!-- --></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/GeometryFilter.html" title="interface in org.geotools.filter">GeometryFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/GeometryFilter.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#and(org.geotools.filter.Filter)">and</A>, <A HREF="../../../org/geotools/filter/Filter.html#getFilterType()">getFilterType</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> <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, evaluate</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_BinarySpatialOperator"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface BinarySpatialOperator</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getExpression1, getExpression2</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="GeometryFilterImpl(org.geotools.filter.FilterFactory)"><!-- --></A><H3>GeometryFilterImpl</H3><PRE>protected <B>GeometryFilterImpl</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory)</PRE><DL></DL><HR><A NAME="GeometryFilterImpl(org.geotools.filter.FilterFactory, org.opengis.filter.expression.Expression, org.opengis.filter.expression.Expression)"><!-- --></A><H3>GeometryFilterImpl</H3><PRE>protected <B>GeometryFilterImpl</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory, Expression e1, Expression e2)</PRE><DL></DL><HR><A NAME="GeometryFilterImpl(short)"><!-- --></A><H3>GeometryFilterImpl</H3><PRE>protected <B>GeometryFilterImpl</B>(short filterType) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD>Constructor with filter type.<P><DT><B>Parameters:</B><DD><CODE>filterType</CODE> - The type of comparison.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - Non-geometry type.</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="addLeftGeometry(org.geotools.filter.Expression)"><!-- --></A><H3>addLeftGeometry</H3><PRE>public final void <B>addLeftGeometry</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> leftGeometry) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/GeometryFilterImpl.html#setExpression1(org.opengis.filter.expression.Expression)"><CODE>setExpression1(org.opengis.filter.expression.Expression)</CODE></A></I><P><DD>Adds the 'left' value to this filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/GeometryFilter.html#addLeftGeometry(org.geotools.filter.Expression)">addLeftGeometry</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/GeometryFilter.html" title="interface in org.geotools.filter">GeometryFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>leftGeometry</CODE> - Expression for 'left' value.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - Filter is not internally consistent.</DL></DD></DL><HR><A NAME="setExpression1(org.opengis.filter.expression.Expression)"><!-- --></A><H3>setExpression1</H3><PRE>public void <B>setExpression1</B>(Expression expression)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html#setExpression1(org.opengis.filter.expression.Expression)">setExpression1</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/BinaryComparisonAbstract.html" title="class in org.geotools.filter">BinaryComparisonAbstract</A></CODE></DL></DD><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -