org.apache.wsif.providers
Class WSIFDynamicTypeMapping

java.lang.Object
  extended by org.apache.wsif.providers.WSIFDynamicTypeMapping
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class WSIFDynamicTypeMapping
extends java.lang.Object
implements java.io.Externalizable

This class encapsultes a simple association between XML and Java type (QName and Class).

Author:
Alekander Slominski, Owen Burroughs
See Also:
Serialized Form

Constructor Summary
WSIFDynamicTypeMapping()
          No args constructor required for deserialization purposes.
WSIFDynamicTypeMapping(javax.xml.namespace.QName xmlType, java.lang.Class javaType)
           
 
Method Summary
 java.lang.Class getJavaType()
           
 javax.xml.namespace.QName getXmlType()
           
 void readExternal(java.io.ObjectInput in)
          Override readExternal method to allow primitive classes to be deserialized.
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
          Override writeExternal method to allow primitive classes to be serialized.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSIFDynamicTypeMapping

public WSIFDynamicTypeMapping()
No args constructor required for deserialization purposes. This constructor should not be used directly.


WSIFDynamicTypeMapping

public WSIFDynamicTypeMapping(javax.xml.namespace.QName xmlType,
                              java.lang.Class javaType)
Method Detail

getXmlType

public javax.xml.namespace.QName getXmlType()

getJavaType

public java.lang.Class getJavaType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Override writeExternal method to allow primitive classes to be serialized.

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Override readExternal method to allow primitive classes to be deserialized.

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.