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

📄 stylegenerator.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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>&nbsp;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>&nbsp;fts,                             int&nbsp;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>&nbsp;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>&nbsp;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>[]&nbsp;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>[]&nbsp;styleExpression,                                <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>[]&nbsp;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>[]&nbsp;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>&nbsp;styleExpression,                                    <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;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>&nbsp;attributeTypeName,                                    boolean&nbsp;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>&nbsp;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>&nbsp;styleExpression,                                      <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;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>&nbsp;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>&nbsp;styleExpression,                                      <A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;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>&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/StyleGenerator.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/brewer/color/SampleScheme.html" title="class in org.geotools.brewer.color"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StyleGenerator.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 + -