📄 arghelper.mapping.html
字号:
<!-- ========= 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="getType()"><!-- --></A><H3>getType</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>getType</B>()</PRE><DL><DD>getType purpose. <p> Returns a constant type name. </p><P><DD><DL><DT><B>Returns:</B><DD>String a constant type name.</DL></DD></DL><HR><A NAME="getInstance(org.w3c.dom.Element)"><!-- --></A><H3>getInstance</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>getInstance</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> value) throws <A HREF="../../../../org/geotools/validation/xml/ValidationException.html" title="class in org.geotools.validation.xml">ValidationException</A></PRE><DL><DD>getInstance purpose. <p> Creates an instance of the appropriate type for this Mapping. This is where type-dependant magic occurs </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The Element to interpret.<DT><B>Returns:</B><DD>The particular argument type expected.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/validation/xml/ValidationException.html" title="class in org.geotools.validation.xml">ValidationException</A></CODE></DL></DD></DL><HR><A NAME="getInstance(java.lang.String)"><!-- --></A><H3>getInstance</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>getInstance</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> value) throws <A HREF="../../../../org/geotools/validation/xml/ValidationException.html" title="class in org.geotools.validation.xml">ValidationException</A></PRE><DL><DD>getInstance purpose. <p> Creates an instance of the appropriate type for this Mapping. This is where type-dependant magic occurs </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The Element to interpret.<DT><B>Returns:</B><DD>The particular argument type expected.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/validation/xml/ValidationException.html" title="class in org.geotools.validation.xml">ValidationException</A></CODE></DL></DD></DL><HR><A NAME="isClassInstance(java.lang.Object)"><!-- --></A><H3>isClassInstance</H3><PRE>public boolean <B>isClassInstance</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> obj)</PRE><DL><DD>isClassInstance purpose. <p> Tests to see if this class is of the expected type. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object to test.<DT><B>Returns:</B><DD>true when they are compatible</DL></DD></DL><HR><A NAME="isClass(java.lang.Class)"><!-- --></A><H3>isClass</H3><PRE>public boolean <B>isClass</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> c)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="encode(java.lang.Object)"><!-- --></A><H3>encode</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>encode</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> obj) throws <A HREF="../../../../org/geotools/validation/xml/ValidationException.html" title="class in org.geotools.validation.xml">ValidationException</A></PRE><DL><DD>encode purpose. <p> Creates an XML String from the obj provided, if the object is of the expected type for this mapping. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object to try and encode.<DT><B>Returns:</B><DD>An XML String if the type is correct, ClassCastException otherwise.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/validation/xml/ValidationException.html" title="class in org.geotools.validation.xml">ValidationException</A></CODE></DL></DD></DL><HR><A NAME="toString(java.lang.Object)"><!-- --></A><H3>toString</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>toString</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> obj)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getElementName()"><!-- --></A><H3>getElementName</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>getElementName</B>()</PRE><DL><DD>getElementName purpose. <p> This is the name of the element represented. </p><P><DD><DL></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ArgHelper.Mapping.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ArgHelper.Mapping.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 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 + -