📄 stylegenerator.html
字号:
<PRE>public <A HREF="../../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A> <B>createFeatureTypeStyle</B>(<A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A> geometryAttrType) throws <A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE></DL></DD></DL><HR><A NAME="modifyFTS(org.geotools.styling.FeatureTypeStyle, int, java.lang.String)"><!-- --></A><H3>modifyFTS</H3><PRE>public static void <B>modifyFTS</B>(<A HREF="../../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A> fts, int ruleIndex, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> styleExpression) throws <A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE></DL></DD></DL><HR><A NAME="toStyleExpression(org.geotools.filter.Filter)"><!-- --></A><H3>toStyleExpression</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>toStyleExpression</B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toStyleExpression(org.geotools.filter.Filter[])"><!-- --></A><H3>toStyleExpression</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>toStyleExpression</B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>[] filter)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toFilter(java.lang.String[], org.geotools.feature.FeatureType[], java.lang.String[])"><!-- --></A><H3>toFilter</H3><PRE>public static <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>[] <B>toFilter</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>[] styleExpression, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>[] featureType, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] attributeTypeName) throws <A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><p> Converts an array of styleExpressions and attributes into Filters </p> <p> <code>styleExpression[0] = "1..5";</code><br> <code>styleExpression[1] = "5..10";</code><br> <code>styleExpression[2] = "11, -13";</code><br> <code>---></code><br> <code>filter[0] = [[1 <= attr] AND [attr < 5]]</code><br> <code>filter[1] = [[6 <= attr] AND [attr <= 10]]</code><br> <code>filter[2] = [[attr = 11] OR [attr = -13]]</code> </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>styleExpression</CODE> - strings of ranged expressions "lowValue..highValue" or explicit values "value1, value2"<DD><CODE>featureType</CODE> - <DD><CODE>attributeTypeName</CODE> - <DT><B>Returns:</B><DD>an array with all the filters<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE></DL></DD></DL><HR><A NAME="toRangedFilter(java.lang.String, org.geotools.feature.FeatureType, java.lang.String, boolean)"><!-- --></A><H3>toRangedFilter</H3><PRE>public static <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>toRangedFilter</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> styleExpression, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> attributeTypeName, boolean upperBoundClosed) throws <A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><p> Creates a filter for a range of values. </p> <p> Examples:<br> "1..5", closed=true --> [[1 <= attr] AND [attr <= 5]]<br> "1..10", closed=false --> [[1 <= attr] AND [attr < 10]] "..10, closed=true --> [attr <= 10] </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>styleExpression</CODE> - the ranged style expression (minValue..maxValue)<DD><CODE>featureType</CODE> - the featureType<DD><CODE>attributeTypeName</CODE> - the attributeTypeName whose values correspond to<DD><CODE>upperBoundClosed</CODE> - does the upper bound include the max value? (true: <=, false: <)<DT><B>Returns:</B><DD>a filter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE></DL></DD></DL><HR><A NAME="isRanged(java.lang.String)"><!-- --></A><H3>isRanged</H3><PRE>public static boolean <B>isRanged</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> styleExpression)</PRE><DL><DD>Determines if a string is an instance of a ranged expression or unique values.<P><DD><DL></DL></DD></DL><HR><A NAME="toExplicitFilter(java.lang.String, org.geotools.feature.FeatureType, java.lang.String)"><!-- --></A><H3>toExplicitFilter</H3><PRE>public static <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>toExplicitFilter</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> styleExpression, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> attributeTypeName) throws <A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><p> Creates a filter with each value explicitly defined. </p> <p> Examples:<br> "LIB" --> [PARTY = LIB]<br> "LIB, NDP" --> [[PARTY = LIB] OR [PARTY = NDP]] </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>styleExpression</CODE> - the list of attribute values, separated by commas (and optional spaces)<DD><CODE>attributeTypeName</CODE> - A Sting with the attributeTypeName whose values correspond to<DT><B>Returns:</B><DD>a filter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE></DL></DD></DL><HR><A NAME="toExplicitFilter(java.lang.String, org.geotools.filter.Expression)"><!-- --></A><H3>toExplicitFilter</H3><PRE>public static <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>toExplicitFilter</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> styleExpression, <A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> attribExpr) throws <A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><p> Creates a filter with each value explicitly defined. </p> <p> Examples:<br> "LIB" --> [PARTY = LIB]<br> "LIB, NDP" --> [[PARTY = LIB] OR [PARTY = NDP]] </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>styleExpression</CODE> - the list of attribute values, separated by commas (and optional spaces)<DD><CODE>attribExpr</CODE> - an Expression to compare each value with (simple case = attributeExpression)<DT><B>Returns:</B><DD>a filter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE></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/StyleGenerator.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/brewer/color/SampleScheme.html" title="class in org.geotools.brewer.color"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="StyleGenerator.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 + -