📄 filterfactory.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Within</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FilterFactory.html#within(org.opengis.filter.expression.Expression, org.opengis.filter.expression.Expression)">within</A></B>(Expression geometry1, Expression geometry2)</CODE><BR> <B>Deprecated.</B> Checks if the feature's geometry is completely contained by the specified constant geometry.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Factory"><!-- --></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/factory/Factory.html" title="interface in org.geotools.factory">Factory</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/factory/Factory.html#getImplementationHints()">getImplementationHints</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_FilterFactory"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface FilterFactory</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, and, and, bbox, between, beyond, contains, crosses, disjoint, divide, dwithin, equals, equals, featureId, function, function, function, function, greater, greaterOrEqual, intersects, isNull, less, lessOrEqual, like, like, literal, literal, literal, literal, literal, literal, literal, literal, literal, multiply, not, notEqual, or, or, overlaps, property, sort, subtract, touches, within</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="createLogicFilter(org.geotools.filter.Filter, org.geotools.filter.Filter, short)"><!-- --></A><H3>createLogicFilter</H3><PRE>public <A HREF="../../../org/geotools/filter/LogicFilter.html" title="interface in org.geotools.filter">LogicFilter</A> <B>createLogicFilter</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><B>Deprecated.</B> <I>use one of <CODE>FilterFactory.and(Filter, Filter)</CODE> <CODE>FilterFactory.or(Filter, Filter)</CODE> <CODE>FilterFactory.not(Filter)</CODE></I><P><DD>Creates a logic filter from two filters and a type.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter1</CODE> - the first filter to join.<DD><CODE>filter2</CODE> - the second filter to join.<DD><CODE>filterType</CODE> - must be a logic type.<DT><B>Returns:</B><DD>the newly constructed logic filter.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - If there were any problems creating the filter, including wrong type.</DL></DD></DL><HR><A NAME="createLogicFilter(short)"><!-- --></A><H3>createLogicFilter</H3><PRE>public <A HREF="../../../org/geotools/filter/LogicFilter.html" title="interface in org.geotools.filter">LogicFilter</A> <B>createLogicFilter</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>use one of <CODE>FilterFactory.and(Filter, Filter)</CODE> <CODE>FilterFactory.or(Filter, Filter)</CODE> <CODE>FilterFactory.not(Filter)</CODE></I><P><DD>Creates an empty logic filter from a type.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filterType</CODE> - must be a logic type.<DT><B>Returns:</B><DD>the newly constructed logic filter.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - If there were any problems creating the filter, including wrong type.</DL></DD></DL><HR><A NAME="createLogicFilter(org.geotools.filter.Filter, short)"><!-- --></A><H3>createLogicFilter</H3><PRE>public <A HREF="../../../org/geotools/filter/LogicFilter.html" title="interface in org.geotools.filter">LogicFilter</A> <B>createLogicFilter</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><B>Deprecated.</B> <I>use one of <CODE>FilterFactory.and(Filter, Filter)</CODE> <CODE>FilterFactory.or(Filter, Filter)</CODE> <CODE>FilterFactory.not(Filter)</CODE></I><P><DD>Creates a logic filter with an initial filter..<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - the initial filter to set.<DD><CODE>filterType</CODE> - Must be a logic type.<DT><B>Returns:</B><DD>the newly constructed logic filter.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - If there were any problems creating the filter, including wrong type.</DL></DD></DL><HR><A NAME="createBBoxExpression(com.vividsolutions.jts.geom.Envelope)"><!-- --></A><H3>createBBoxExpression</H3><PRE>public <A HREF="../../../org/geotools/filter/BBoxExpression.html" title="interface in org.geotools.filter">BBoxExpression</A> <B>createBBoxExpression</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> env) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <DD>Creates a BBox Expression from an envelope.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>env</CODE> - the envelope to use for this bounding box.<DT><B>Returns:</B><DD>The newly created BBoxExpression.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - if there were creation problems.</DL></DD></DL><HR><A NAME="createLiteralExpression(int)"><!-- --></A><H3>createLiteralExpression</H3><PRE>public <A HREF="../../../org/geotools/filter/LiteralExpression.html" title="interface in org.geotools.filter">LiteralExpression</A> <B>createLiteralExpression</B>(int i)</PRE><DL><DD><B>Deprecated.</B> <DD>Creates an Integer Literal Expression.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the int to serve as literal.<DT><B>Returns:</B><DD>The new Literal Expression</DL></DD></DL><HR><A NAME="createMathExpression()"><!-- --></A><H3>createMathExpression</H3><PRE>public <A HREF="../../../org/geotools/filter/MathExpression.html" title="interface in org.geotools.filter">MathExpression</A> <B>createMathExpression</B>() throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>use one of <CODE>FilterFactory.add(Expression, Expression)</CODE> <CODE>FilterFactory.subtract(Expression, Expression)</CODE> <CODE>FilterFactory.multiply(Expression, Expression)</CODE> <CODE>FilterFactory.divide(Expression, Expression)</CODE></I><P><DD>Creates a Math Expression<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The new Math Expression<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - if there were creation problems.</DL></DD></DL><HR><A NAME="createFidFilter()"><!-- --></A><H3>createFidFilter</H3><PRE>public <A HREF="../../../org/geotools/filter/FidFilter.html" title="interface in org.geotools.filter">FidFilter</A> <B>createFidFilter</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a new Fid Filter with no initial fids.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The new Fid Filter.</DL></DD></DL><HR><A NAME="createAttributeExpression(java.lang.String)"><!-- --></A><H3>createAttributeExpression</H3><PRE>public <A HREF="../../../org/geotools/filter/AttributeExpression.html" title="interface in org.geotools.filter">AttributeExpression</A> <B>createAttributeExpression</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xpath)</PRE><DL><DD><B>Deprecated.</B> <DD>Creates an AttributeExpression using the supplied xpath. <p> The supplied xpath can be used to query a varity of content - most notably Features. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>xpath</CODE> - XPath used to retrive value<DT><B>Returns:</B><DD>The new Attribtue Expression</DL></DD></DL><HR><A NAME="createAttributeExpression(org.geotools.feature.FeatureType, java.lang.String)"><!-- --></A><H3>createAttributeExpression</H3><PRE>public <A HREF="../../../org/geotools/filter/AttributeExpression.html" title="interface in org.geotools.filter">AttributeExpression</A> <B>createAttributeExpression</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> schema, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xpath) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>use createAttributeExpression( xpath ), will be removed for GeoTools 2.3</I><P><DD>Creates a Attribute Expression given a schema and attribute path. <p> If you supply a schema, it will be used as a sanitch check for the provided path. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>schema</CODE> - the schema to get the attribute from, or null<DD><CODE>xpath</CODE> - the xPath of the attribute to compare.<DT><B>Returns:</B><DD>The new Attribute Expression.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - if there were creation problems.</DL></DD></DL><HR><A NAME="createAttributeExpression(org.geotools.feature.AttributeType)"><!-- --></A><H3>createAttributeExpression</H3><PRE>public <A HREF="../../../org/geotools/filter/AttributeExpression.html" title="interface in org.geotools.filter">AttributeExpression</A> <B>createAttributeExpression</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> at) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>use createAttributeExpression( at ), will be removed for GeoTools 2.3</I><P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -