com.cedarsoft.utils.crypt
Class HashSerializer

java.lang.Object
  extended by com.cedarsoft.serialization.AbstractSerializer<T,org.codehaus.staxmate.out.SMOutputElement,org.codehaus.stax2.XMLStreamReader2,javax.xml.stream.XMLStreamException>
      extended by com.cedarsoft.serialization.stax.AbstractStaxMateSerializer<Hash>
          extended by com.cedarsoft.utils.crypt.HashSerializer
All Implemented Interfaces:
ExtendedSerializer<Hash>, PluggableSerializer<Hash,org.codehaus.staxmate.out.SMOutputElement,org.codehaus.stax2.XMLStreamReader2,javax.xml.stream.XMLStreamException>, Serializer<Hash,Lookup>

public class HashSerializer
extends AbstractStaxMateSerializer<Hash>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.cedarsoft.serialization.stax.AbstractStaxMateSerializer
AbstractStaxMateSerializer.CB
 
Constructor Summary
HashSerializer()
           
 
Method Summary
 Hash deserialize(org.codehaus.stax2.XMLStreamReader2 deserializeFrom, Lookup context)
           
 org.codehaus.staxmate.out.SMOutputElement serialize(org.codehaus.staxmate.out.SMOutputElement serializeTo, Hash object, Lookup context)
           
 
Methods inherited from class com.cedarsoft.serialization.stax.AbstractStaxMateSerializer
closeTag, deserialize, ensureTag, getChildText, getText, nextTag, serialize, visitChildren
 
Methods inherited from class com.cedarsoft.serialization.AbstractSerializer
deserialize, getDefaultElementName, serialize, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashSerializer

public HashSerializer()
Method Detail

serialize

@NotNull
public org.codehaus.staxmate.out.SMOutputElement serialize(@NotNull
                                                                   org.codehaus.staxmate.out.SMOutputElement serializeTo,
                                                                   @NotNull
                                                                   Hash object,
                                                                   @NotNull
                                                                   Lookup context)
                                                    throws java.io.IOException,
                                                           javax.xml.stream.XMLStreamException
Throws:
java.io.IOException
javax.xml.stream.XMLStreamException

deserialize

@NotNull
public Hash deserialize(@NotNull
                                org.codehaus.stax2.XMLStreamReader2 deserializeFrom,
                                @NotNull
                                Lookup context)
                 throws java.io.IOException,
                        javax.xml.stream.XMLStreamException
Throws:
java.io.IOException
javax.xml.stream.XMLStreamException


Copyright © 2009 cedarsoft GmbH. All Rights Reserved.