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

📄 filters.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="NOTFOUND"><!-- --></A><H3>NOTFOUND</H3><PRE>public static final int <B>NOTFOUND</B></PRE><DL><DD><code>NOTFOUND</code> indicates int value was unavailable<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.geotools.filter.Filters.NOTFOUND">Constant Field Values</A></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="Filters()"><!-- --></A><H3>Filters</H3><PRE>public <B>Filters</B>()</PRE><DL></DL><HR><A NAME="Filters(org.geotools.filter.FilterFactory)"><!-- --></A><H3>Filters</H3><PRE>public <B>Filters</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A>&nbsp;factory)</PRE><DL></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="setFilterFactory(org.geotools.filter.FilterFactory)"><!-- --></A><H3>setFilterFactory</H3><PRE>public void <B>setFilterFactory</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A>&nbsp;factory)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="duplicate(org.geotools.filter.Filter)"><!-- --></A><H3>duplicate</H3><PRE>public <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>duplicate</B>(<A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)</PRE><DL><DD>Deep copy the filter. <p> Filter objects are mutable, when copying a rich data structure (like SLD) you will need to duplicate the Filters referenced therein. </p><P><DD><DL></DL></DD></DL><HR><A NAME="asInt(org.opengis.filter.expression.Expression)"><!-- --></A><H3>asInt</H3><PRE>public static int <B>asInt</B>(Expression&nbsp;expr)</PRE><DL><DD>Uses number( expr ), will turn result into an interger, or NOTFOUND<P><DD><DL><DT><B>Parameters:</B><DD><CODE>expr</CODE> - <DT><B>Returns:</B><DD>int value of first Number, or NOTFOUND</DL></DD></DL><HR><A NAME="asString(org.opengis.filter.expression.Expression)"><!-- --></A><H3>asString</H3><PRE>public static <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>asString</B>(Expression&nbsp;expr)</PRE><DL><DD>Uses string( expr ), will turn result into a String<P><DD><DL><DT><B>Parameters:</B><DD><CODE>expr</CODE> - <DT><B>Returns:</B><DD>value of first String</DL></DD></DL><HR><A NAME="asDouble(org.opengis.filter.expression.Expression)"><!-- --></A><H3>asDouble</H3><PRE>public static double <B>asDouble</B>(Expression&nbsp;expr)</PRE><DL><DD>Uses number( expr ), will turn result into an interger, or NaN.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>expr</CODE> - <DT><B>Returns:</B><DD>int value of first Number, or Double.NaN</DL></DD></DL><HR><A NAME="asType(org.opengis.filter.expression.Expression, java.lang.Class)"><!-- --></A><H3>asType</H3><PRE>public static <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>asType</B>(Expression&nbsp;expr,                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;TYPE)</PRE><DL><DD>Navigate through the expression seaching for TYPE.  <p> This will work even with dynamic expression that would normall require a feature. It works especially well when the Expression is a Literal literal (which is usually the case). </p>  <p> If you have a specific Feature, please do this: <pre><code> Object value = expr.getValue( feature ); return value instanceof Color ? (Color) value : null; </code></pre> </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>expr</CODE> - <DD><CODE>TYPE</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>First available color, or null.</DL></DD></DL><HR><A NAME="number(java.lang.Object)"><!-- --></A><H3>number</H3><PRE>public static double <B>number</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;value)</PRE><DL><DD>Treat provided value as a Number, used for math opperations. <p> This function allows for the non stongly typed Math Opperations favoured by the Expression standard. </p> <p> Able to hanle: <ul> <li>null - to NaN <li>Number <li>String - valid Integer and Double encodings </ul>  </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - <DT><B>Returns:</B><DD>double or Double.NaN;<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - For non numerical among us -- like Geometry</DL></DD></DL><HR><A NAME="gets(java.lang.String, java.lang.Class)"><!-- --></A><H3>gets</H3><PRE>public static <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>gets</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>&nbsp;text,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;TYPE)                   throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></PRE><DL><DD>Used to upcovnert a "Text Value" into the provided TYPE. <p> Used to tread softly on the Java typing system, because Filter/Expression is not strongly typed. Values in in Expression land are often not the the real Java Objects we wish they were - it is reall a small, lax, query language and Java objects need a but of help getting through. <p> </p> A couple notes: <ul> <li>Usual trick of reflection for a Constructors that     supports a String parameter is used as a last ditch effort.     </li> <li>will do its best to turn Object into the indicated Class <li>will be used for ordering literals against attribute values     are calculated at runtime (like Date.) </ul> Remember Strong typing is for whimps who know what they are doing ahead of time. Real programmers let their program learn at runtime... :-) </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - <DD><CODE>TYPE</CODE> - <DT><B>Throws:</B><DD><CODE>open</CODE> - set of Throwable reflection for TYPE( String )<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD></DL><HR><A NAME="puts(double)"><!-- --></A><H3>puts</H3><PRE>public static <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>puts</B>(double&nbsp;number)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="puts(java.lang.Object)"><!-- --></A><H3>puts</H3><PRE>public static <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>puts</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;obj)</PRE><DL><DD>Inverse of eval, used to softly type supported types into Text for use as literals.<P><DD><DL></DL></DD></DL><HR><A NAME="puts(java.awt.Color)"><!-- --></A><H3>puts</H3><PRE>public static <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>puts</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;color)</PRE><DL><DD><DL></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/Filters.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/FilteringIteration.html" title="class in org.geotools.filter"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/filter/FilterSAXParser.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>  &nbsp;&nbsp;<A HREF="Filters.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;<A HREF="#constructor_summary">CONSTR</A>&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;<A HREF="#constructor_detail">CONSTR</A>&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 + -