📄 filtercomplextypes.sortbytype.html
字号:
This is used for validation of an XML document, and represents the targetNamespace of that this type resides in. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html#getParent()">getParent</A></B>()</CODE><BR> This is used to represent the heirarchy represented within an xml schema document(s). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html#getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)">getValue</A></B>(<A HREF="../../../../org/geotools/xml/schema/Element.html" title="interface in org.geotools.xml.schema">Element</A> element, <A HREF="../../../../org/geotools/xml/schema/ElementValue.html" title="interface in org.geotools.xml.schema">ElementValue</A>[] value, <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/Attributes.html" title="class or interface in org.xml.sax">Attributes</A> attrs1, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hints)</CODE><BR> This method is intended to receive the child elements in the form of ElementValues (@see ElementValue). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html#isAbstract()">isAbstract</A></B>()</CODE><BR> Returns true when the complexType should be considered abstract, as defined by the XML schema of which this complex type definition is a part.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html#isDerived()">isDerived</A></B>()</CODE><BR> This method is used to publish whether this complexType is at the root of an inheritance tree, or a leaf within an inheritance tree. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html#isMixed()">isMixed</A></B>()</CODE><BR> Returns true if this complexType allows mixed content (Child elements and a String value).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html#toString()">toString</A></B>()</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <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></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getInstance()"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../org/geotools/xml/filter/FilterComplexTypes.SortByType.html" title="class in org.geotools.xml.filter">FilterComplexTypes.SortByType</A> <B>getInstance</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getChild()"><!-- --></A><H3>getChild</H3><PRE>public <A HREF="../../../../org/geotools/xml/schema/ElementGrouping.html" title="interface in org.geotools.xml.schema">ElementGrouping</A> <B>getChild</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/schema/ComplexType.html" title="interface in org.geotools.xml.schema">ComplexType</A></CODE></B></DD><DD>Returns the child element representing the structure of nested child nodes (if any are allowed).<P><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/ComplexType.html#getChild()"><CODE>ComplexType.getChild()</CODE></A></DL></DD></DL><HR><A NAME="getChildElements()"><!-- --></A><H3>getChildElements</H3><PRE>public <A HREF="../../../../org/geotools/xml/schema/Element.html" title="interface in org.geotools.xml.schema">Element</A>[] <B>getChildElements</B>()</PRE><DL><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/ComplexType.html#getChildElements()"><CODE>ComplexType.getChildElements()</CODE></A></DL></DD></DL><HR><A NAME="getAttributes()"><!-- --></A><H3>getAttributes</H3><PRE>public <A HREF="../../../../org/geotools/xml/schema/Attribute.html" title="interface in org.geotools.xml.schema">Attribute</A>[] <B>getAttributes</B>()</PRE><DL><DD>TODO summary sentence for getAttributes ...<P><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/ComplexType.html#getAttributes()"><CODE>ComplexType.getAttributes()</CODE></A></DL></DD></DL><HR><A NAME="getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)"><!-- --></A><H3>getValue</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>getValue</B>(<A HREF="../../../../org/geotools/xml/schema/Element.html" title="interface in org.geotools.xml.schema">Element</A> element, <A HREF="../../../../org/geotools/xml/schema/ElementValue.html" title="interface in org.geotools.xml.schema">ElementValue</A>[] value, <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/Attributes.html" title="class or interface in org.xml.sax">Attributes</A> attrs1, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hints) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/naming/OperationNotSupportedException.html" title="class or interface in javax.naming">OperationNotSupportedException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></B></DD><DD><p> This method is intended to receive the child elements in the form of ElementValues (@see ElementValue). Recall that this is a pairing containing a reference to the type and the actual value (do not call .getValue on the types). This should return the real value (interpreted value) for this element based on it's children. Remember, this is a XML is a tree structure, so if you don't include some children, they are gone forever (so be careful when ignoring data). </p> <p> If the element had #CData (Nested Child Text), this will appear in the first slot, with a null Element. </p> <p> A SAXNotSupportedException should be thrown when the child's [inherited, default implementation of getValue(ElementValue[],Attributes)] method should be used. </p><P><DD><DL><DT><B>Returns:</B><DD>Object<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/naming/OperationNotSupportedException.html" title="class or interface in javax.naming">OperationNotSupportedException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/Type.html#getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)"><CODE>Type.getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)</CODE></A></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</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>getName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></B></DD><DD><p> This returns the XML Schema declaration name of this type (both complex and simple types have names ...) </p><P><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/Type.html#getName()"><CODE>Type.getName()</CODE></A></DL></DD></DL><HR><A NAME="getInstanceType()"><!-- --></A><H3>getInstanceType</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> <B>getInstanceType</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></B></DD><DD><p> This will return the intended Java Class for this element type. For generic complex types this will be an object array. SimpleTypes will match as they are parsed, and custom extensions will also return the appropriate class value. </p><P><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/Type.html#getInstanceType()"><CODE>Type.getInstanceType()</CODE></A></DL></DD></DL><HR><A NAME="canEncode(org.geotools.xml.schema.Element, java.lang.Object, java.util.Map)"><!-- --></A><H3>canEncode</H3><PRE>public boolean <B>canEncode</B>(<A HREF="../../../../org/geotools/xml/schema/Element.html" title="interface in org.geotools.xml.schema">Element</A> element, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hints)</PRE><DL><DD><B>Description copied from class: <CODE>FilterSchema.FilterComplexType</CODE></B></DD><DD>Subclass must override this method to allow encoding.<P><DD><DL><DT><B>Returns:</B><DD><code>false</code>, subclass override to allow encoding<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/Type.html#canEncode(org.geotools.xml.schema.Element, java.lang.Object, java.util.Map)"><CODE>Type.canEncode(org.geotools.xml.schema.Element, java.lang.Object, java.util.Map)</CODE></A></DL></DD></DL><HR><A NAME="encode(org.geotools.xml.schema.Element, java.lang.Object, org.geotools.xml.PrintHandler, java.util.Map)"><!-- --></A><H3>encode</H3><PRE>public void <B>encode</B>(<A HREF="../../../../org/geotools/xml/schema/Element.html" title="interface in org.geotools.xml.schema">Element</A> element, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value, <A HREF="../../../../org/geotools/xml/PrintHandler.html" title="interface in org.geotools.xml">PrintHandler</A> output, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hints) 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>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/naming/OperationNotSupportedException.html" title="class or interface in javax.naming">OperationNotSupportedException</A></PRE><DL><DD><B>Description copied from class: <CODE>FilterSchema.FilterComplexType</CODE></B></DD><DD>Subclass should implement this, this implementation provides a good OperationsNotSupportedException.<P><DD><DL><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><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/naming/OperationNotSupportedException.html" title="class or interface in javax.naming">OperationNotSupportedException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/Type.html#encode(org.geotools.xml.schema.Element, java.lang.Object, org.geotools.xml.PrintHandler, java.util.Map)"><CODE>Type.encode(org.geotools.xml.schema.Element, java.lang.Object, org.geotools.xml.PrintHandler, java.util.Map)</CODE></A></DL></DD></DL><HR><A NAME="getParent()"><!-- --></A><H3>getParent</H3><PRE>public <A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A> <B>getParent</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/schema/ComplexType.html" title="interface in org.geotools.xml.schema">ComplexType</A></CODE></B></DD><DD><p> This is used to represent the heirarchy represented within an xml schema document(s). This is particularily useful, as the parent will have the first attempt to create a real (non Object[]) value of the element. For more information see getValue. </p><P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -