org.apache.commons.betwixt.strategy
Class SimpleTypeMapper.Binding
java.lang.Object
|
+--org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
- Enclosing class:
- SimpleTypeMapper
- public static class SimpleTypeMapper.Binding
- extends java.lang.Object
Enumerates binding options for simple types.
Simple types (in xml) have no attributes or child elements.
For Betwixt, these are converted to and from strings
and these strings used to populate either attributes or element body's.
- Version:
- $Revision: 155402 $
- Author:
- Jakarta Commons Team
Method Summary |
boolean |
equals(java.lang.Object obj)
Equals compatible with the enumeration. |
int |
hashCode()
Implementation compatible with equals |
java.lang.String |
toString()
Generate something appropriate for logging. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ELEMENT
public static final SimpleTypeMapper.Binding ELEMENT
ATTRIBUTE
public static final SimpleTypeMapper.Binding ATTRIBUTE
equals
public boolean equals(java.lang.Object obj)
- Equals compatible with the enumeration.
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Implementation compatible with equals
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Generate something appropriate for logging.
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.