soaprmi.soap
Interface EncodingStyle

All Known Implementing Classes:
SoapEnc

public interface EncodingStyle

Interface to use SOAP encoding style.

Version:
$Revision: 1.6 $
Author:
Aleksander Slominski

Method Summary
 Deserializer defaultArrayDeserializer()
           
 Serializer defaultArraySerializer()
           
 Deserializer defaultStructDeserializer()
           
 Serializer defaultStructSerializer()
           
 java.lang.String getEncodingStyleUri()
           
 Converter queryConverterFrom(java.lang.Class expectedType)
           
 Converter queryConverterTo(java.lang.Class expectedType)
           
 Deserializer queryDeserializer(java.lang.Class javaType)
           
 Deserializer queryInterfaceDeserializer(java.lang.Class javaInterface)
           
 Serializer queryInterfaceSerializer(java.lang.Class javaInterface)
           
 Serializer querySerializer(java.lang.Class javaType)
           
 boolean readBoolean(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 double readDouble(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 float readFloat(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 int readInt(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 long readLong(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 java.lang.Object readObject(DeserializeContext dctx, java.lang.Class baseClass, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 short readShort(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 java.lang.String readString(DeserializeContext dctx, org.gjt.xpp.XmlPullParser pp, org.gjt.xpp.XmlStartTag stag)
           
 void registerClassEncodingHandler(java.lang.Class javaType, Serializer ser, Deserializer deser)
           
 void registerConverterFrom(java.lang.Class expectedType, Converter cnv)
           
 void registerConverterTo(java.lang.Class expectedType, Converter cnv)
           
 void registerInterfaceEncodingHandler(java.lang.Class javaType, Serializer ser, Deserializer deser)
           
 void writeDouble(SerializeContext sctx, double d, java.lang.String name, boolean forceXsiType)
           
 void writeFloat(SerializeContext sctx, float f, java.lang.String name, boolean forceXsiType)
           
 void writeInt(SerializeContext sctx, int i, java.lang.String name, boolean forceXsiType)
           
 void writeObject(SerializeContext sctx, java.lang.Object o, java.lang.String name, java.lang.Class baseType)
           
 void writeString(SerializeContext sctx, java.lang.String s, java.lang.String name, boolean forceXsiType)
           
 

Method Detail

queryDeserializer

public Deserializer queryDeserializer(java.lang.Class javaType)
                               throws SoapException
Throws:
SoapException

querySerializer

public Serializer querySerializer(java.lang.Class javaType)
                           throws SoapException
Throws:
SoapException

registerClassEncodingHandler

public void registerClassEncodingHandler(java.lang.Class javaType,
                                         Serializer ser,
                                         Deserializer deser)
                                  throws SoapException
Throws:
SoapException

queryInterfaceDeserializer

public Deserializer queryInterfaceDeserializer(java.lang.Class javaInterface)
                                        throws SoapException
Throws:
SoapException

queryInterfaceSerializer

public Serializer queryInterfaceSerializer(java.lang.Class javaInterface)
                                    throws SoapException
Throws:
SoapException

registerInterfaceEncodingHandler

public void registerInterfaceEncodingHandler(java.lang.Class javaType,
                                             Serializer ser,
                                             Deserializer deser)
                                      throws SoapException
Throws:
SoapException

queryConverterFrom

public Converter queryConverterFrom(java.lang.Class expectedType)

queryConverterTo

public Converter queryConverterTo(java.lang.Class expectedType)

registerConverterFrom

public void registerConverterFrom(java.lang.Class expectedType,
                                  Converter cnv)

registerConverterTo

public void registerConverterTo(java.lang.Class expectedType,
                                Converter cnv)

getEncodingStyleUri

public java.lang.String getEncodingStyleUri()

defaultArraySerializer

public Serializer defaultArraySerializer()

defaultStructSerializer

public Serializer defaultStructSerializer()

defaultArrayDeserializer

public Deserializer defaultArrayDeserializer()

defaultStructDeserializer

public Deserializer defaultStructDeserializer()

readObject

public java.lang.Object readObject(DeserializeContext dctx,
                                   java.lang.Class baseClass,
                                   org.gjt.xpp.XmlPullParser pp,
                                   org.gjt.xpp.XmlStartTag stag)
                            throws DeserializeException,
                                   org.gjt.xpp.XmlPullParserException,
                                   java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readBoolean

public boolean readBoolean(DeserializeContext dctx,
                           org.gjt.xpp.XmlPullParser pp,
                           org.gjt.xpp.XmlStartTag stag)
                    throws DeserializeException,
                           org.gjt.xpp.XmlPullParserException,
                           java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readLong

public long readLong(DeserializeContext dctx,
                     org.gjt.xpp.XmlPullParser pp,
                     org.gjt.xpp.XmlStartTag stag)
              throws DeserializeException,
                     org.gjt.xpp.XmlPullParserException,
                     java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readShort

public short readShort(DeserializeContext dctx,
                       org.gjt.xpp.XmlPullParser pp,
                       org.gjt.xpp.XmlStartTag stag)
                throws DeserializeException,
                       org.gjt.xpp.XmlPullParserException,
                       java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readInt

public int readInt(DeserializeContext dctx,
                   org.gjt.xpp.XmlPullParser pp,
                   org.gjt.xpp.XmlStartTag stag)
            throws DeserializeException,
                   org.gjt.xpp.XmlPullParserException,
                   java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readFloat

public float readFloat(DeserializeContext dctx,
                       org.gjt.xpp.XmlPullParser pp,
                       org.gjt.xpp.XmlStartTag stag)
                throws DeserializeException,
                       org.gjt.xpp.XmlPullParserException,
                       java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readDouble

public double readDouble(DeserializeContext dctx,
                         org.gjt.xpp.XmlPullParser pp,
                         org.gjt.xpp.XmlStartTag stag)
                  throws DeserializeException,
                         org.gjt.xpp.XmlPullParserException,
                         java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

readString

public java.lang.String readString(DeserializeContext dctx,
                                   org.gjt.xpp.XmlPullParser pp,
                                   org.gjt.xpp.XmlStartTag stag)
                            throws DeserializeException,
                                   org.gjt.xpp.XmlPullParserException,
                                   java.io.IOException
Throws:
DeserializeException
org.gjt.xpp.XmlPullParserException
java.io.IOException

writeObject

public void writeObject(SerializeContext sctx,
                        java.lang.Object o,
                        java.lang.String name,
                        java.lang.Class baseType)
                 throws SerializeException,
                        java.io.IOException
Throws:
SerializeException
java.io.IOException

writeDouble

public void writeDouble(SerializeContext sctx,
                        double d,
                        java.lang.String name,
                        boolean forceXsiType)
                 throws SerializeException,
                        java.io.IOException
Throws:
SerializeException
java.io.IOException

writeFloat

public void writeFloat(SerializeContext sctx,
                       float f,
                       java.lang.String name,
                       boolean forceXsiType)
                throws SerializeException,
                       java.io.IOException
Throws:
SerializeException
java.io.IOException

writeInt

public void writeInt(SerializeContext sctx,
                     int i,
                     java.lang.String name,
                     boolean forceXsiType)
              throws SerializeException,
                     java.io.IOException
Throws:
SerializeException
java.io.IOException

writeString

public void writeString(SerializeContext sctx,
                        java.lang.String s,
                        java.lang.String name,
                        boolean forceXsiType)
                 throws SerializeException,
                        java.io.IOException
Throws:
SerializeException
java.io.IOException


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.