📄 logicfilterimpl.html
字号:
<DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/LogicFilter.html#addFilter(org.geotools.filter.Filter)">addFilter</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/LogicFilter.html" title="interface in org.geotools.filter">LogicFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - Specified filter to add to the sub filter list.<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<DT><B>'TODO:'</B></DT> <DD>REVISIT: make all filters immutable. This should return a new filter.</DD></DL></DD></DL><HR><A NAME="getFilterIterator()"><!-- --></A><H3>getFilterIterator</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getFilterIterator</B>()</PRE><DL><DD>Gets an iterator for the filters held by this logic filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/LogicFilter.html#getFilterIterator()">getFilterIterator</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/LogicFilter.html" title="interface in org.geotools.filter">LogicFilter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the iterator of the filters.</DL></DD></DL><HR><A NAME="evaluate(org.geotools.feature.Feature)"><!-- --></A><H3>evaluate</H3><PRE>public abstract boolean <B>evaluate</B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</PRE><DL><DD>Determines whether or not a given feature is 'inside' this filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html" title="class in org.geotools.filter">FilterAbstract</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - Specified feature to examine.<DT><B>Returns:</B><DD>Flag confirming whether or not this feature is inside the 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> filter)</PRE><DL><DD>Implements a logical OR with this filter and returns the merged filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Filter.html#or(org.geotools.filter.Filter)">or</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html#or(org.geotools.filter.Filter)">or</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html" title="class in org.geotools.filter">BinaryLogicAbstract</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - Parent of the filter: must implement GMLHandlerGeometry.<DT><B>Returns:</B><DD>ORed filter.<DT><B>'TODO:'</B></DT> <DD>REVISIT: make immutable, should not modify the subfilters of the filter being ored.</DD></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> filter)</PRE><DL><DD>Implements a logical AND with this filter and returns the merged filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Filter.html#and(org.geotools.filter.Filter)">and</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html#and(org.geotools.filter.Filter)">and</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html" title="class in org.geotools.filter">BinaryLogicAbstract</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - Parent of the filter: must implement GMLHandlerGeometry.<DT><B>Returns:</B><DD>ANDed filter.<DT><B>'TODO:'</B></DT> <DD>REVISIT: make immutable, should not modify the subfilters of the filter being anded.</DD></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>Implements a logical NOT with this filter and returns the merged filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Filter.html#not()">not</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html#not()">not</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/BinaryLogicAbstract.html" title="class in org.geotools.filter">BinaryLogicAbstract</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>NOTed filter.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string representation of this filter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representation of the logic filter.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</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)</PRE><DL><DD>Compares this filter to the specified object. Returns true if the passed in object is the same as this filter. Checks to make sure the filter types are the same, and then checks that the subFilters lists are the same size and that one list contains the other. This means that logic filters with different internal orders of subfilters are equal.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - - the object to compare this LogicFilter against.<DT><B>Returns:</B><DD>true if specified object is equal to this filter; false otherwise.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Override of hashCode method.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a code to hash this object by.</DL></DD></DL><HR><A NAME="accept(org.opengis.filter.FilterVisitor, java.lang.Object)"><!-- --></A><H3>accept</H3><PRE>public abstract <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>accept</B>(FilterVisitor visitor, <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)</PRE><DL><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><DT><B>Specified by:</B><DD><CODE>accept</CODE> in interface <CODE>Filter</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html#accept(org.opengis.filter.FilterVisitor, java.lang.Object)">accept</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html" title="class in org.geotools.filter">FilterAbstract</A></CODE></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LogicFilterImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/geotools/filter/LiteralExpressionImpl.html" title="class in org.geotools.filter"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/filter/LogicSAXParser.html" title="class 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> <A HREF="LogicFilterImpl.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_BinaryLogicAbstract">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 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 + -