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

📄 sldparser.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD></DL><HR><A NAME="setInput(java.io.File)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;f)              throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/FileNotFoundException.html" title="class or interface in java.io">FileNotFoundException</A></PRE><DL><DD>Sets the file to use to read the SLD from<P><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - the file to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/FileNotFoundException.html" title="class or interface in java.io">FileNotFoundException</A></CODE> - if the file is missing</DL></DD></DL><HR><A NAME="setInput(java.net.URL)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A>&nbsp;url)              throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>sets an URL to read the SLD from<P><DD><DL><DT><B>Parameters:</B><DD><CODE>url</CODE> - the url to read the SLD from<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If anything goes wrong opening the url</DL></DD></DL><HR><A NAME="setInput(java.io.InputStream)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A>&nbsp;in)</PRE><DL><DD>Sets the input stream to read the SLD from<P><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the inputstream used to read the SLD from</DL></DD></DL><HR><A NAME="setInput(java.io.Reader)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A>&nbsp;in)</PRE><DL><DD>Sets the input stream to read the SLD from<P><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the inputstream used to read the SLD from</DL></DD></DL><HR><A NAME="readXML()"><!-- --></A><H3>readXML</H3><PRE>public <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[] <B>readXML</B>()</PRE><DL><DD>Read the xml inputsource provided and create a Style object for each user style found<P><DD><DL><DT><B>Returns:</B><DD>Style[] the styles constructed.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - if a parsing error occurs</DL></DD></DL><HR><A NAME="readDOM(org.w3c.dom.Document)"><!-- --></A><H3>readDOM</H3><PRE>public <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A>[] <B>readDOM</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A>&nbsp;document)</PRE><DL><DD>Read the DOM provided and create a Style object for each user style found<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - a dom containing the SLD<DT><B>Returns:</B><DD>Style[] the styles constructed.</DL></DD></DL><HR><A NAME="parseSLD()"><!-- --></A><H3>parseSLD</H3><PRE>public <A HREF="../../../org/geotools/styling/StyledLayerDescriptor.html" title="interface in org.geotools.styling">StyledLayerDescriptor</A> <B>parseSLD</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="parseDescriptor(org.w3c.dom.Node)"><!-- --></A><H3>parseDescriptor</H3><PRE>public <A HREF="../../../org/geotools/styling/StyledLayerDescriptor.html" title="interface in org.geotools.styling">StyledLayerDescriptor</A> <B>parseDescriptor</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A>&nbsp;root)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="parseNamedStyle(org.w3c.dom.Node)"><!-- --></A><H3>parseNamedStyle</H3><PRE>public <A HREF="../../../org/geotools/styling/NamedStyle.html" title="interface in org.geotools.styling">NamedStyle</A> <B>parseNamedStyle</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A>&nbsp;n)</PRE><DL><DD>Parses a NamedStyle from node. <p> A NamedStyle is used to refer to a style that has a name in a WMS, and is defined as: <pre><code> <xsd:element name="NamedStyle">  <xsd:annotation>   <xsd:documentation> A NamedStyle is used to refer to a style that has a name in a WMS. </xsd:documentation>  </xsd:annotation>  <xsd:complexType>   <xsd:sequence>    <xsd:element ref="sld:Name"/>   </xsd:sequence>  </xsd:complexType> </xsd:element> </code></pre> </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - </DL></DD></DL><HR><A NAME="parseStyle(org.w3c.dom.Node)"><!-- --></A><H3>parseStyle</H3><PRE>public <A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A> <B>parseStyle</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A>&nbsp;n)</PRE><DL><DD>build a style for the Node provided<P><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - the node which contains the style to be parsed.<DT><B>Returns:</B><DD>the Style constructed.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - if an error occurs setting up the parser</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/SLDParser.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/styling/SLDInlineFeatureParser.html" title="class in org.geotools.styling"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/styling/SLDTransformer.html" title="class in org.geotools.styling"><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="SLDParser.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 + -