xsisimpletypes.xsisimpletype.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 701 行 · 第 1/3 页
HTML
701 行
<BR> Returns an int of either List, Union or Restriction</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/xml/schema/Facet.html" title="interface in org.geotools.xml.schema">Facet</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.XSISimpleType.html#getFacets()">getFacets</A></B>()</CODE><BR> The list of facets for this Restriction ... </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.XSISimpleType.html#getFinal()">getFinal</A></B>()</CODE><BR> This specifies a mask which represents how this XML Schema SimpleType may be extended/restricted ... through Schema declared derivations. </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/xsi/XSISimpleTypes.XSISimpleType.html#getId()">getId</A></B>()</CODE><BR> The Schema ID for this simpleType definition. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/geotools/xml/schema/SimpleType.html" title="interface in org.geotools.xml.schema">SimpleType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.XSISimpleType.html#getInstance()">getInstance</A></B>()</CODE><BR> This method is intended to return an instance of the implemented type. </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/net/URI.html" title="class or interface in java.net">URI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.XSISimpleType.html#getNamespace()">getNamespace</A></B>()</CODE><BR> 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/xsi/XSISimpleTypes.XSISimpleType.html#getParent()">getParent</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/xml/schema/SimpleType.html" title="interface in org.geotools.xml.schema">SimpleType</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.XSISimpleType.html#getParents()">getParents</A></B>()</CODE><BR> A simple simpleType when either a List or Restriction ... </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/xml/schema/AttributeValue.html" title="interface in org.geotools.xml.schema">AttributeValue</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.XSISimpleType.html#toAttribute(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)">toAttribute</A></B>(<A HREF="../../../../org/geotools/xml/schema/Attribute.html" title="interface in org.geotools.xml.schema">Attribute</A> attribute, <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)</CODE><BR> returns the value as a string </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#toString()" title="class or interface in java.lang">toString</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> <A NAME="methods_inherited_from_class_Type"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/xml/schema/Type.html#getInstanceType()">getInstanceType</A>, <A HREF="../../../../org/geotools/xml/schema/Type.html#getName()">getName</A>, <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)">getValue</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="XSISimpleTypes.XSISimpleType()"><!-- --></A><H3>XSISimpleTypes.XSISimpleType</H3><PRE>protected <B>XSISimpleTypes.XSISimpleType</B>()</PRE><DL></DL><!-- ============ 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="findChildElement(org.geotools.xml.xsi.XSISimpleTypes.String)"><!-- --></A><H3>findChildElement</H3><PRE>public <A HREF="../../../../org/geotools/xml/schema/Element.html" title="interface in org.geotools.xml.schema">Element</A> <B>findChildElement</B>(<A HREF="../../../../org/geotools/xml/xsi/XSISimpleTypes.String.html" title="class in org.geotools.xml.xsi">XSISimpleTypes.String</A> name)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/Type.html#findChildElement(java.lang.String)"><CODE>Type.findChildElement(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="canCreateAttributes(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)"><!-- --></A><H3>canCreateAttributes</H3><PRE>public boolean <B>canCreateAttributes</B>(<A HREF="../../../../org/geotools/xml/schema/Attribute.html" title="interface in org.geotools.xml.schema">Attribute</A> attribute, <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 interface: <CODE><A HREF="../../../../org/geotools/xml/schema/SimpleType.html" title="interface in org.geotools.xml.schema">SimpleType</A></CODE></B></DD><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/schema/SimpleType.html#canCreateAttributes(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)">canCreateAttributes</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/schema/SimpleType.html" title="interface in org.geotools.xml.schema">SimpleType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attribute</CODE> - DOCUMENT ME!<DD><CODE>value</CODE> - DOCUMENT ME!<DD><CODE>hints</CODE> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/SimpleType.html#canCreateAttributes(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)"><CODE>SimpleType.canCreateAttributes(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)</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 interface: <CODE><A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></B></DD><DD>Can I write this object out as element specified?<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/schema/Type.html#canEncode(org.geotools.xml.schema.Element, java.lang.Object, java.util.Map)">canEncode</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The element which may be used to represent the Object. This is included to allow for child definitions to include addition information where appropriate.<DD><CODE>value</CODE> - An Object which may or may not be encodeable by this type. The value may also be null.<DT><B>Returns:</B><DD>True when the encode method can interpret the given element/value pair into valid xml.<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="toAttribute(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)"><!-- --></A><H3>toAttribute</H3><PRE>public <A HREF="../../../../org/geotools/xml/schema/AttributeValue.html" title="interface in org.geotools.xml.schema">AttributeValue</A> <B>toAttribute</B>(<A HREF="../../../../org/geotools/xml/schema/Attribute.html" title="interface in org.geotools.xml.schema">Attribute</A> attribute, <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 interface: <CODE><A HREF="../../../../org/geotools/xml/schema/SimpleType.html" title="interface in org.geotools.xml.schema">SimpleType</A></CODE></B></DD><DD><p> returns the value as a string </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/schema/SimpleType.html#toAttribute(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)">toAttribute</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/schema/SimpleType.html" title="interface in org.geotools.xml.schema">SimpleType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attribute</CODE> - <DD><CODE>value</CODE> - <DD><CODE>hints</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/schema/SimpleType.html#toAttribute(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)"><CODE>SimpleType.toAttribute(org.geotools.xml.schema.Attribute, 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></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>Encode value as element on the provided output. <p> This is encoding because the PrintHandler does not have to go back to a stream. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/schema/Type.html#encode(org.geotools.xml.schema.Element, java.lang.Object, org.geotools.xml.PrintHandler, java.util.Map)">encode</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/schema/Type.html" title="interface in org.geotools.xml.schema">Type</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The original element declaration to which we should encode.<DD><CODE>value</CODE> - The Object to encode.<DD><CODE>output</CODE> - This is where the output should be written to.<DD><CODE>hints</CODE> - For providing additional context information to specific schemas.<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> - When there is an error with the Writer.<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,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?