de.javakaffee.web.msm.serializer.javolution
Class ReflectionBinding.XMLCurrencyFormat

java.lang.Object
  extended by javolution.xml.XMLFormat<Currency>
      extended by de.javakaffee.web.msm.serializer.javolution.ReflectionBinding.XMLCurrencyFormat
Enclosing class:
ReflectionBinding

public static class ReflectionBinding.XMLCurrencyFormat
extends javolution.xml.XMLFormat<Currency>


Nested Class Summary
 
Nested classes/interfaces inherited from class javolution.xml.XMLFormat
javolution.xml.XMLFormat.InputElement, javolution.xml.XMLFormat.OutputElement
 
Field Summary
 
Fields inherited from class javolution.xml.XMLFormat
APPENDABLE_XML, BOOLEAN_XML, BYTE_XML, CHARACTER_XML, CLASS_XML, COLLECTION_XML, CONFIGURABLE_XML, DOUBLE_XML, FAST_COLLECTION_XML, FAST_COMPARATOR_XML, FAST_MAP_XML, FLOAT_XML, INDEX_XML, INTEGER_XML, LONG_XML, MAP_XML, OBJECT_ARRAY_XML, OBJECT_XML, PERSISTENT_CONTEXT_XML, QNAME_XML, SHORT_XML, STRING_XML, TEXT_XML
 
Constructor Summary
ReflectionBinding.XMLCurrencyFormat()
           
 
Method Summary
 boolean isReferenceable()
          Currency instance do not have to be handled by the reference resolver, as we're using Currency.getInstance for retrieving an instance.
 Currency newInstance(Class<Currency> cls, javolution.xml.XMLFormat.InputElement xml)
           
 void read(javolution.xml.XMLFormat.InputElement xml, Currency pos)
           
 void write(Currency currency, javolution.xml.XMLFormat.OutputElement xml)
           
 
Methods inherited from class javolution.xml.XMLFormat
getBoundClass, getDefault, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectionBinding.XMLCurrencyFormat

public ReflectionBinding.XMLCurrencyFormat()
Method Detail

isReferenceable

public boolean isReferenceable()
Currency instance do not have to be handled by the reference resolver, as we're using Currency.getInstance for retrieving an instance.

Overrides:
isReferenceable in class javolution.xml.XMLFormat<Currency>
Returns:
false

newInstance

public Currency newInstance(Class<Currency> cls,
                            javolution.xml.XMLFormat.InputElement xml)
                     throws javolution.xml.stream.XMLStreamException
Overrides:
newInstance in class javolution.xml.XMLFormat<Currency>
Throws:
javolution.xml.stream.XMLStreamException

write

public void write(Currency currency,
                  javolution.xml.XMLFormat.OutputElement xml)
           throws javolution.xml.stream.XMLStreamException
Specified by:
write in class javolution.xml.XMLFormat<Currency>
Throws:
javolution.xml.stream.XMLStreamException

read

public void read(javolution.xml.XMLFormat.InputElement xml,
                 Currency pos)
Specified by:
read in class javolution.xml.XMLFormat<Currency>


Copyright © 2009-2012. All Rights Reserved.