attributehandler.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 665 行 · 第 1/3 页
HTML
665 行
<CODE>protected <A HREF="../../../../../org/geotools/xml/schema/Attribute.html" title="interface in org.geotools.xml.schema">Attribute</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/xml/handlers/xsi/AttributeHandler.html#compress(org.geotools.xml.handlers.xsi.SchemaHandler)">compress</A></B>(<A HREF="../../../../../org/geotools/xml/handlers/xsi/SchemaHandler.html" title="class in org.geotools.xml.handlers.xsi">SchemaHandler</A> parent)</CODE><BR> creates a smaller simpler version </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/xml/handlers/xsi/AttributeHandler.html#endElement(java.lang.String, java.lang.String)">endElement</A></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> namespaceURI, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> localName)</CODE><BR> handles SAX end Element events. this is an opportunity to complete some post-processing</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/xml/handlers/xsi/AttributeHandler.html#findUse(java.lang.String)">findUse</A></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> use)</CODE><BR> Convert the 'use' attribute to an int mask </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/xml/XSIElementHandler.html" title="class in org.geotools.xml">XSIElementHandler</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/xml/handlers/xsi/AttributeHandler.html#getHandler(java.lang.String, java.lang.String)">getHandler</A></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> namespaceURI, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> localName)</CODE><BR> This method will be used to create the XSI document. </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/handlers/xsi/AttributeHandler.html#getHandlerType()">getHandlerType</A></B>()</CODE><BR> Returns one of the Specified types ... intended for use by the child packages only</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/handlers/xsi/AttributeHandler.html#getLocalName()">getLocalName</A></B>()</CODE><BR> Returns the LocalName for this element (ie this declaration in the Schema ... so ComplexType or Sequence ...)</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/handlers/xsi/AttributeHandler.html#getName()">getName</A></B>()</CODE><BR> Returns the attribute name </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/handlers/xsi/AttributeHandler.html#hashCode()">hashCode</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/xml/handlers/xsi/AttributeHandler.html#startElement(java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A></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> namespaceURI, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> localName, <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> atts)</CODE><BR> handles SAX start Element events. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/xml/handlers/xsi/AttributeHandler.html#writeUse(int)">writeUse</A></B>(int use)</CODE><BR> converts an int mask representing use to the string representation </TD></TR></TABLE> <A NAME="methods_inherited_from_class_XSIElementHandler"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../../org/geotools/xml/XSIElementHandler.html" title="class in org.geotools.xml">XSIElementHandler</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/xml/XSIElementHandler.html#characters(java.lang.String)">characters</A>, <A HREF="../../../../../org/geotools/xml/XSIElementHandler.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../org/geotools/xml/XSIElementHandler.html#setLogLevel(java.util.logging.Level)">setLogLevel</A></CODE></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#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#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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="LOCALNAME"><!-- --></A><H3>LOCALNAME</H3><PRE>public static final <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>LOCALNAME</B></PRE><DL><DD>'attribute'<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.xml.handlers.xsi.AttributeHandler.LOCALNAME">Constant Field Values</A></DL></DL><HR><A NAME="OPTIONAL"><!-- --></A><H3>OPTIONAL</H3><PRE>public static final int <B>OPTIONAL</B></PRE><DL><DD>OPTIONAL<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.xml.handlers.xsi.AttributeHandler.OPTIONAL">Constant Field Values</A></DL></DL><HR><A NAME="PROHIBITED"><!-- --></A><H3>PROHIBITED</H3><PRE>public static final int <B>PROHIBITED</B></PRE><DL><DD>PROHIBITED<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.xml.handlers.xsi.AttributeHandler.PROHIBITED">Constant Field Values</A></DL></DL><HR><A NAME="REQUIRED"><!-- --></A><H3>REQUIRED</H3><PRE>public static final int <B>REQUIRED</B></PRE><DL><DD>REQUIRED<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.xml.handlers.xsi.AttributeHandler.REQUIRED">Constant Field Values</A></DL></DL><!-- ========= 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="AttributeHandler()"><!-- --></A><H3>AttributeHandler</H3><PRE>public <B>AttributeHandler</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="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/xml/XSIElementHandler.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/xml/XSIElementHandler.html" title="class in org.geotools.xml">XSIElementHandler</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang"><CODE>Object.hashCode()</CODE></A></DL></DD></DL><HR><A NAME="getHandler(java.lang.String, java.lang.String)"><!-- --></A><H3>getHandler</H3><PRE>public <A HREF="../../../../../org/geotools/xml/XSIElementHandler.html" title="class in org.geotools.xml">XSIElementHandler</A> <B>getHandler</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> namespaceURI, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> localName) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/xml/XSIElementHandler.html" title="class in org.geotools.xml">XSIElementHandler</A></CODE></B></DD><DD>This method will be used to create the XSI document. Validation and
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?