com.gridsystems.innergrid.serializers
Class CertificateSerializer

java.lang.Object
  extended by com.gridsystems.innergrid.serializers.CertificateSerializer
All Implemented Interfaces:
java.io.Serializable, javax.xml.rpc.encoding.Serializer, org.apache.axis.encoding.SimpleValueSerializer

public class CertificateSerializer
extends java.lang.Object
implements org.apache.axis.encoding.SimpleValueSerializer

Axis 1.x serializer for X509Certificate java type.

Author:
atugores, rruiz
See Also:
Serialized Form

Constructor Summary
CertificateSerializer(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
          Creates a new instance.
 
Method Summary
 java.lang.String getMechanismType()
          
 java.lang.String getValueAsString(java.lang.Object value, org.apache.axis.encoding.SerializationContext context)
          
 void serialize(javax.xml.namespace.QName name, org.xml.sax.Attributes attribs, java.lang.Object value, org.apache.axis.encoding.SerializationContext context)
          
 org.w3c.dom.Element writeSchema(java.lang.Class javaType, org.apache.axis.wsdl.fromJava.Types types)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateSerializer

public CertificateSerializer(java.lang.Class javaType,
                             javax.xml.namespace.QName xmlType)
Creates a new instance.

Parameters:
javaType - class
xmlType - type
Method Detail

serialize

public void serialize(javax.xml.namespace.QName name,
                      org.xml.sax.Attributes attribs,
                      java.lang.Object value,
                      org.apache.axis.encoding.SerializationContext context)
               throws java.io.IOException

Throws:
java.io.IOException

getValueAsString

public java.lang.String getValueAsString(java.lang.Object value,
                                         org.apache.axis.encoding.SerializationContext context)

Specified by:
getValueAsString in interface org.apache.axis.encoding.SimpleValueSerializer

getMechanismType

public java.lang.String getMechanismType()

Specified by:
getMechanismType in interface javax.xml.rpc.encoding.Serializer

writeSchema

public org.w3c.dom.Element writeSchema(java.lang.Class javaType,
                                       org.apache.axis.wsdl.fromJava.Types types)
                                throws org.apache.axis.AxisFault

Throws:
org.apache.axis.AxisFault


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.