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
ELEMENT_CODE
private static final int ELEMENT_CODE
- See Also:
- Constant Field Values
ATTRIBUTE_CODE
private static final int ATTRIBUTE_CODE
- See Also:
- Constant Field Values
code
private int code
SimpleTypeMapper.Binding
private SimpleTypeMapper.Binding(int code)
equals
public boolean equals(java.lang.Object obj)
- Equals compatible with the enumeration.
hashCode
public int hashCode()
- Implementation compatible with equals
toString
public java.lang.String toString()
- Generate something appropriate for logging.