⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 morpher.html

📁 iBATIS似乎已远离众说纷纭的OR框架之列
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Sun Feb 11 09:19:06 CST 2007 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Morpher (ezmorph 1.0.1 API)
</TITLE>

<META NAME="date" CONTENT="2007-02-11">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="Morpher (ezmorph 1.0.1 API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Morpher.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../net/sf/ezmorph/MorpherRegistry.html" title="class in net.sf.ezmorph"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?net/sf/ezmorph/Morpher.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Morpher.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
net.sf.ezmorph</FONT>
<BR>
Interface Morpher</H2>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../net/sf/ezmorph/ObjectMorpher.html" title="interface in net.sf.ezmorph">ObjectMorpher</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../net/sf/ezmorph/array/AbstractArrayMorpher.html" title="class in net.sf.ezmorph.array">AbstractArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/AbstractDecimalMorpher.html" title="class in net.sf.ezmorph.primitive">AbstractDecimalMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/AbstractIntegerMorpher.html" title="class in net.sf.ezmorph.primitive">AbstractIntegerMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/AbstractObjectMorpher.html" title="class in net.sf.ezmorph.object">AbstractObjectMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/AbstractPrimitiveMorpher.html" title="class in net.sf.ezmorph.primitive">AbstractPrimitiveMorpher</A>, <A HREF="../../../net/sf/ezmorph/bean/BeanMorpher.html" title="class in net.sf.ezmorph.bean">BeanMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/BigDecimalMorpher.html" title="class in net.sf.ezmorph.object">BigDecimalMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/BigIntegerMorpher.html" title="class in net.sf.ezmorph.object">BigIntegerMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/BooleanArrayMorpher.html" title="class in net.sf.ezmorph.array">BooleanArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/BooleanMorpher.html" title="class in net.sf.ezmorph.primitive">BooleanMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/BooleanObjectArrayMorpher.html" title="class in net.sf.ezmorph.array">BooleanObjectArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/BooleanObjectMorpher.html" title="class in net.sf.ezmorph.object">BooleanObjectMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/ByteArrayMorpher.html" title="class in net.sf.ezmorph.array">ByteArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/ByteMorpher.html" title="class in net.sf.ezmorph.primitive">ByteMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/CharacterObjectArrayMorpher.html" title="class in net.sf.ezmorph.array">CharacterObjectArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/CharacterObjectMorpher.html" title="class in net.sf.ezmorph.object">CharacterObjectMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/CharArrayMorpher.html" title="class in net.sf.ezmorph.array">CharArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/CharMorpher.html" title="class in net.sf.ezmorph.primitive">CharMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/ClassMorpher.html" title="class in net.sf.ezmorph.object">ClassMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/DateMorpher.html" title="class in net.sf.ezmorph.object">DateMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/DoubleArrayMorpher.html" title="class in net.sf.ezmorph.array">DoubleArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/DoubleMorpher.html" title="class in net.sf.ezmorph.primitive">DoubleMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/FloatArrayMorpher.html" title="class in net.sf.ezmorph.array">FloatArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/FloatMorpher.html" title="class in net.sf.ezmorph.primitive">FloatMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/IdentityObjectMorpher.html" title="class in net.sf.ezmorph.object">IdentityObjectMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/IntArrayMorpher.html" title="class in net.sf.ezmorph.array">IntArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/IntMorpher.html" title="class in net.sf.ezmorph.primitive">IntMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/LongArrayMorpher.html" title="class in net.sf.ezmorph.array">LongArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/LongMorpher.html" title="class in net.sf.ezmorph.primitive">LongMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/NumberMorpher.html" title="class in net.sf.ezmorph.object">NumberMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/ObjectArrayMorpher.html" title="class in net.sf.ezmorph.array">ObjectArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/array/ShortArrayMorpher.html" title="class in net.sf.ezmorph.array">ShortArrayMorpher</A>, <A HREF="../../../net/sf/ezmorph/primitive/ShortMorpher.html" title="class in net.sf.ezmorph.primitive">ShortMorpher</A>, <A HREF="../../../net/sf/ezmorph/object/StringMorpher.html" title="class in net.sf.ezmorph.object">StringMorpher</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>Morpher</B></DL>
</PRE>

<P>
Marker interface for morphers.<br> All implementations must have a <code>morph( Object value )</code> method that returns the appropiate morphed value.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Andres Almiray <aalmiray@users.sourceforge.net></DD>
</DL>
<HR>

<P>

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../net/sf/ezmorph/Morpher.html#morphsTo()">morphsTo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the target Class for conversion.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../net/sf/ezmorph/Morpher.html#supports(java.lang.Class)">supports</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;clazz)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the Morpher supports conversion from this Class.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="morphsTo()"><!-- --></A><H3>
morphsTo</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>morphsTo</B>()</PRE>
<DL>
<DD>Returns the target Class for conversion.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the target Class for conversion.</DL>
</DD>
</DL>
<HR>

<A NAME="supports(java.lang.Class)"><!-- --></A><H3>
supports</H3>
<PRE>
boolean <B>supports</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;clazz)</PRE>
<DL>
<DD>Returns true if the Morpher supports conversion from this Class.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - the source Class
<DT><B>Returns:</B><DD>true if clazz is supported by this morpher, false otherwise.</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=2 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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Morpher.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../net/sf/ezmorph/MorpherRegistry.html" title="class in net.sf.ezmorph"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?net/sf/ezmorph/Morpher.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Morpher.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2006-2007 null. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

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