⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filter.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 NONE or Filter -> NONE NONE and Filter -> Filter not NONE -> ALL </pre><P><DL></DL></DL><HR><A NAME="ALL"><!-- --></A><H3>ALL</H3><PRE>public static final <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>ALL</B></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Implements the semantics of "filter all", that is, every call to contains will return false. Logic table:<br> <pre> ALL or Filter -> Filter ALL and Filter -> ALL not ALL -> NONE </pre><P><DL></DL></DL><!-- ========= 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="evaluate(org.geotools.feature.Feature)"><!-- --></A><H3>evaluate</H3><PRE>public boolean <B>evaluate</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;<DD>Evaluates the filter against an instance of <A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature"><CODE>Feature</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - The feature being tested.<DT><B>Returns:</B><DD>True if the feature is filtered, otherwise false.</DL></DD></DL><HR><A NAME="contains(org.geotools.feature.Feature)"><!-- --></A><H3>contains</H3><PRE>public 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>evaluate(Feature)</CODE></A></I><P><DD>Determines whether or not a given feature is 'contained by' this filter. <p> This is the core function of any filter.  'Contains' isn't a very good term for this method because it implies some sort of spatial relationship between the feature and the filter that may or may  not exist.  We name this method 'contains' only because the usage  of 'contains' in this context is common and better terms are lacking. However, users of this method should keep in mind the non-spatial nature of this meaning of 'contains.'  For example, a feature may be 'contained by' a filter if one of the feature's non-spatial property values is equal to that of the filter's. </p> <p> Although some filters can be checked for validity when they are constructed, it is impossible to impose this check on all expressions because of a special feature of the <code>ExpressionAttribute</code> class.  This class must hold the pointer (in XPath) to an attribute, but it is not passed the actual attribute (inside a feature) until it calls the <code>isInside</code> class. </p> <p> To avoid a run-time Exception, this class is typed (ie. Double, Integer, String) when it is created.  If the attribute found inside the feature is found not to conform with its stated type, then a <code>MalformedExpressionException</code> is thrown when <code> contains</code> is called.  Since <code>ExpressionAttribute</code> classes may be nested inside any filter, all filters must throw this exception.  It is left to callers of this method to deal with it gracefully. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - Specified feature to examine.<DT><B>Returns:</B><DD>True if filter contains passed feature.</DL></DD></DL><HR><A NAME="and(org.geotools.filter.Filter)"><!-- --></A><H3>and</H3><PRE>public <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>and</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Implements a logical AND with this filter and returns the merged filter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - The filter to AND with this filter.<DT><B>Returns:</B><DD>Combined filter.</DL></DD></DL><HR><A NAME="or(org.geotools.filter.Filter)"><!-- --></A><H3>or</H3><PRE>public <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>or</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Implements a logical OR with this filter and returns the merged filter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - The filter to OR with this filter.<DT><B>Returns:</B><DD>Combined filter.</DL></DD></DL><HR><A NAME="not()"><!-- --></A><H3>not</H3><PRE>public <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>not</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Implements a logical NOT with this filter and returns the negated filter<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Combined filter.</DL></DD></DL><HR><A NAME="getFilterType()"><!-- --></A><H3>getFilterType</H3><PRE>public short <B>getFilterType</B>()</PRE><DL><DD><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><P><DD>DOCUMENT ME!<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!<DT><B>'TODO:'</B></DT>  <DD>Gets a short representation of the type of this filter.</DD></DL></DD></DL><HR><A NAME="accept(org.geotools.filter.FilterVisitor)"><!-- --></A><H3>accept</H3><PRE>public void <B>accept</B>(<A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A>&nbsp;visitor)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>use <CODE>Filter.accept(FilterVisitor, Object)</CODE>.</I><P><DD>Used by FilterVisitors to perform some action on this filter instance. Typicaly used by Filter decoders, but may also be used by any thing which needs infomration from filter structure. Implementations should always call: visitor.visit(this); It is importatant that this is not left to a parent class unless the parents API is identical.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visitor</CODE> - The visitor which requires access to this filter, the        method must call visitor.visit(this);</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Filter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/filter/FidFilter.html" title="interface in org.geotools.filter"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Filter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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