soaprmi.soap
Interface DeserializeContext

All Known Subinterfaces:
SoapDeserializeContext
All Known Implementing Classes:
SoapDeserializeContextImpl

public interface DeserializeContext

Define set of operations that must be supported for SOAP deserialization.

Version:
$Revision: 1.7 $
Author:
Aleksander Slominski

Method Summary
 void addArrayFixup(java.lang.Object target, int pos, java.lang.Class komponentType, java.lang.String id)
           
 void addStructFixup(StructAccessor sa, java.lang.Object target, java.lang.String accessorName, java.lang.Class accessorType, java.lang.String id)
           
 void close()
           
 java.lang.Object convert(EncodingStyle enc, java.lang.Object source, java.lang.Class expectedType)
           
 byte done()
           
 void enterStruct()
           
 EncodingStyle getDefaultEncodingStyle()
           
 org.gjt.xpp.XmlEndTag getEndTag()
           
 java.lang.Object getIdValue(java.lang.String id)
           
 XmlJavaMapping getMapping()
           
 org.gjt.xpp.XmlPullParser getPullParser()
           
 org.gjt.xpp.XmlStartTag getStartTag()
           
 boolean hasId(java.lang.String id)
           
 boolean isClosed()
           
 void leaveStruct()
           
 Deserializer queryDeserializer(EncodingStyle enc, XmlJavaTypeMap map)
           
 XmlJavaTypeMap queryTypeMap(EncodingStyle enc, java.lang.Class javaClass)
           
 XmlJavaTypeMap queryTypeMap(EncodingStyle enc, java.lang.String uri, java.lang.String localName)
           
 double readDouble()
           
 float readFloat()
           
 int readInt()
           
 java.lang.Object readObject(java.lang.Class baseClass)
           
 java.lang.String readString()
           
 void setDefaultEncodingStyle(EncodingStyle estyle)
           
 void setIdValue(java.lang.String id, java.lang.Object value)
           
 void setMapping(XmlJavaMapping mapping)
           
 void setPullParser(org.gjt.xpp.XmlPullParser parser)
           
 void setReader(java.io.Reader reader)
           
 int structLevel()
           
 

Method Detail

getDefaultEncodingStyle

public EncodingStyle getDefaultEncodingStyle()

setDefaultEncodingStyle

public void setDefaultEncodingStyle(EncodingStyle estyle)

getMapping

public XmlJavaMapping getMapping()

setMapping

public void setMapping(XmlJavaMapping mapping)

setReader

public void setReader(java.io.Reader reader)
               throws SoapException
Throws:
SoapException

setPullParser

public void setPullParser(org.gjt.xpp.XmlPullParser parser)
                   throws SoapException
Throws:
SoapException

getPullParser

public org.gjt.xpp.XmlPullParser getPullParser()

getStartTag

public org.gjt.xpp.XmlStartTag getStartTag()

getEndTag

public org.gjt.xpp.XmlEndTag getEndTag()

readObject

public java.lang.Object readObject(java.lang.Class baseClass)
                            throws DeserializeException,
                                   java.io.IOException
Throws:
DeserializeException
java.io.IOException

readDouble

public double readDouble()
                  throws DeserializeException,
                         java.io.IOException
Throws:
DeserializeException
java.io.IOException

readFloat

public float readFloat()
                throws DeserializeException,
                       java.io.IOException
Throws:
DeserializeException
java.io.IOException

readInt

public int readInt()
            throws DeserializeException,
                   java.io.IOException
Throws:
DeserializeException
java.io.IOException

readString

public java.lang.String readString()
                            throws DeserializeException,
                                   java.io.IOException
Throws:
DeserializeException
java.io.IOException

done

public byte done()
          throws DeserializeException,
                 java.io.IOException
Throws:
DeserializeException
java.io.IOException

isClosed

public boolean isClosed()

close

public void close()
           throws DeserializeException,
                  java.io.IOException
Throws:
DeserializeException
java.io.IOException

queryTypeMap

public XmlJavaTypeMap queryTypeMap(EncodingStyle enc,
                                   java.lang.Class javaClass)
                            throws XmlMapException
Throws:
XmlMapException

queryTypeMap

public XmlJavaTypeMap queryTypeMap(EncodingStyle enc,
                                   java.lang.String uri,
                                   java.lang.String localName)
                            throws XmlMapException
Throws:
XmlMapException

queryDeserializer

public Deserializer queryDeserializer(EncodingStyle enc,
                                      XmlJavaTypeMap map)
                               throws DeserializeException
Throws:
DeserializeException

enterStruct

public void enterStruct()

leaveStruct

public void leaveStruct()

structLevel

public int structLevel()

setIdValue

public void setIdValue(java.lang.String id,
                       java.lang.Object value)
                throws DeserializeException
Throws:
DeserializeException

hasId

public boolean hasId(java.lang.String id)

getIdValue

public java.lang.Object getIdValue(java.lang.String id)
                            throws DeserializeException
Throws:
DeserializeException

addStructFixup

public void addStructFixup(StructAccessor sa,
                           java.lang.Object target,
                           java.lang.String accessorName,
                           java.lang.Class accessorType,
                           java.lang.String id)

addArrayFixup

public void addArrayFixup(java.lang.Object target,
                          int pos,
                          java.lang.Class komponentType,
                          java.lang.String id)

convert

public java.lang.Object convert(EncodingStyle enc,
                                java.lang.Object source,
                                java.lang.Class expectedType)
                         throws DeserializeException
Throws:
DeserializeException


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