📄 attributeexpressionimpl.html
字号:
<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/AttributeExpressionImpl.html#setPropertyName(java.lang.String)"><CODE>setPropertyName(String)</CODE></A></I><P><DD>Constructor with minimum dataset for a valid expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/AttributeExpression.html#setAttributePath(java.lang.String)">setAttributePath</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/AttributeExpression.html" title="interface in org.geotools.filter">AttributeExpression</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attPath</CODE> - The initial (required) sub filter.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - If the attribute path is not in the schema.</DL></DD></DL><HR><A NAME="getAttributePath()"><!-- --></A><H3>getAttributePath</H3><PRE>public final <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>getAttributePath</B>()</PRE><DL><DD><B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/AttributeExpressionImpl.html#getPropertyName()"><CODE>getPropertyName()</CODE></A></I><P><DD>This method calls <A HREF="../../../org/geotools/filter/AttributeExpressionImpl.html#getPropertyName()"><CODE>getPropertyName()</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/AttributeExpression.html#getAttributePath()">getAttributePath</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/AttributeExpression.html" title="interface in org.geotools.filter">AttributeExpression</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the attribute to be queried.</DL></DD></DL><HR><A NAME="getPropertyName()"><!-- --></A><H3>getPropertyName</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>getPropertyName</B>()</PRE><DL><DD>Gets the path to the attribute to be evaluated by this expression. <CODE>PropertyName.getPropertyName()</CODE><P><DD><DL><DT><B>Specified by:</B><DD><CODE>getPropertyName</CODE> in interface <CODE>PropertyName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setPropertyName(java.lang.String)"><!-- --></A><H3>setPropertyName</H3><PRE>public void <B>setPropertyName</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> attPath)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="evaluate(org.geotools.feature.Feature)"><!-- --></A><H3>evaluate</H3><PRE>public <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>evaluate</B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</PRE><DL><DD>Gets the value of this attribute from the passed feature.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Expression.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/DefaultExpression.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/DefaultExpression.html" title="class in org.geotools.filter">DefaultExpression</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - Feature from which to extract attribute value.<DT><B>Returns:</B><DD>The value of this expression based on the feature.</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>Return this expression as a string.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representation of this attribute expression.</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 expression. Checks to make sure the expression types are the same as well as the attribute paths and schemas.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - - the object to compare this ExpressionAttribute against.<DT><B>Returns:</B><DD>true if specified object is equal to this filter; else false</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.expression.ExpressionVisitor, java.lang.Object)"><!-- --></A><H3>accept</H3><PRE>public <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>(ExpressionVisitor 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>Expression</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/expression/ExpressionAbstract.html#accept(org.opengis.filter.expression.ExpressionVisitor, java.lang.Object)">accept</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/expression/ExpressionAbstract.html" title="class in org.geotools.filter.expression">ExpressionAbstract</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/AttributeExpressionImpl.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/AreaFunction.html" title="class in org.geotools.filter"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/filter/AttributeExpressionImpl2.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="AttributeExpressionImpl.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 + -