nodeimpl.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 1,021 行 · 第 1/4 页

HTML
1,021 行
字号
<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#hasChild(java.lang.Class)">hasChild</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class of the child node value.<DT><B>Returns:</B><DD><code>true</code> if a child node exists with the class, otherwise <code>false</code>.</DL></DD></DL><HR><A NAME="getChildren()"><!-- --></A><H3>getChildren</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getChildren</B>()</PRE><DL><DD>Contents of this node. <p> XXX: either return unmodifeable Collection, or return the collection directly. Client code should make the copy iff they need it. Going to try changing it and see what breaks. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getChildren()">getChildren</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list containing objects of type Node.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/Node.html#getChildren()"><CODE>Node.getChildren()</CODE></A></DL></DD></DL><HR><A NAME="getNChildren()"><!-- --></A><H3>getNChildren</H3><PRE>public int <B>getNChildren</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getChildren(java.lang.String)"><!-- --></A><H3>getChildren</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getChildren</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;name)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns all nodes corresponding child elements with the specified name. This method returns an empty list if it finds no nodes corresponding to the specified name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getChildren(java.lang.String)">getChildren</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of a child element.<DT><B>Returns:</B><DD>A list containing objects of type Node.</DL></DD></DL><HR><A NAME="getChildren(java.lang.Class)"><!-- --></A><H3>getChildren</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getChildren</B>(<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;clazz)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns all nodes corresponding to child elements with the parsed values that are instances of <code>clazz</code><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getChildren(java.lang.Class)">getChildren</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class of parsed child values.<DT><B>Returns:</B><DD>A list containing objects of type Node, such that node#getValue() is an instance of <code>clazz<code>, or an empty list.</DL></DD></DL><HR><A NAME="getChild(java.lang.String)"><!-- --></A><H3>getChild</H3><PRE>public <A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A> <B>getChild</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;name)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns a node corresponding to a child element. This method returns the first such node it finds and no order is guaranteed, it is provided for convenience. This method returns null if it finds no such child node matching the specified name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getChild(java.lang.String)">getChild</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of a child element.<DT><B>Returns:</B><DD>The first node that matches a child element with the specified name.</DL></DD></DL><HR><A NAME="getChild(java.lang.Class)"><!-- --></A><H3>getChild</H3><PRE>public <A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A> <B>getChild</B>(<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;clazz)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns a node corresponding to a child element which has a parsed value which is an instance of <code>clazz</code>. This method returns the first such node it finds an dno order is guarenteed, it is providedd for convenience. This method returns <code>null</codee> if it finds no such child mathing the above criteria.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getChild(java.lang.Class)">getChild</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class of the parsed value of a child element.<DT><B>Returns:</B><DD>The first node found, or null.</DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getAttributes</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns all nodes corresponding to attributes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getAttributes()">getAttributes</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list containing objects of type node.</DL></DD></DL><HR><A NAME="getAttributes(java.lang.Class)"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getAttributes</B>(<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;clazz)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns all nodes corresponding to attributes which has a parsed values which are instances of <code>clazz</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getAttributes(java.lang.Class)">getAttributes</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class of parsed attribute values.<DT><B>Returns:</B><DD>A list of  attribute nodes whose parsed values are instances of <code>clazz</code>, or an empty list.</DL></DD></DL><HR><A NAME="getNAttributes()"><!-- --></A><H3>getNAttributes</H3><PRE>public int <B>getNAttributes</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A> <B>getAttribute</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;name)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns the node corresonding to the attribute with the specified name. This method returns null if it finds no such attribute node matching the specified name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getAttribute(java.lang.String)">getAttribute</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute.</DL></DD></DL><HR><A NAME="getAttribute(java.lang.Class)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A> <B>getAttribute</B>(<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;clazz)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Returns the node corresponding to the attribute which has a parsed value which is an instance of <code>clazz</code>. In the event that the node contains multple attributes matching the above criteria, the first encountered is returned, with no guaratnee of order. For all nodes matching this criteria use <A HREF="../../../../org/geotools/xml/Node.html#getAttributes(java.lang.Class)"><CODE>Node.getAttributes(Class)</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getAttribute(java.lang.Class)">getAttribute</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class of parsed attribute values.<DT><B>Returns:</B><DD>The attribute node whose parsed value is an instance of <code>clazz</code>, or <code>null</code> if no such node exists.</DL></DD></DL><HR><A NAME="getAttributeValue(java.lang.String)"><!-- --></A><H3>getAttributeValue</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>getAttributeValue</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;name)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Helper method for access to the parsed value of the attribute with the specified name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/Node.html#getAttributeValue(java.lang.String)">getAttributeValue</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute in which to retreive the parsed value from.<DT><B>Returns:</B><DD>the parsed value of the attribute matching the criteria, or <code>null</code> if no such attribute is found.</DL></DD></DL><HR><A NAME="getAttributeValue(java.lang.Class)"><!-- --></A><H3>getAttributeValue</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>getAttributeValue</B>(<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;clazz)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/Node.html" title="interface in org.geotools.xml">Node</A></CODE></B></DD><DD>Helper method for access to the parsed value of the attribute whose parsed value is an instance of <code>clazz</code>. In the event that the node contains multple attributes matching the above criteria, the first encountered is returned, with no guaratnee of order. For all values

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?