org.codehaus.xfire.type
Class Type

java.lang.Object
  extended by org.codehaus.xfire.type.Type
All Implemented Interfaces:
org.codehaus.xfire.wsdl.SchemaType
Direct Known Subclasses:
ArrayType, BeanType, BigDecimalType, BooleanType, CalendarType, DateType, DoubleType, FloatType, IntType, LongType, StringType, XOPType

public abstract class Type
extends java.lang.Object
implements org.codehaus.xfire.wsdl.SchemaType

Type

Author:
Dan Diephouse

Constructor Summary
Type()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Set getDependencies()
          Return a set of Type dependencies.
 javax.xml.namespace.QName getSchemaType()
           
 java.lang.Class getTypeClass()
           
 TypeMapping getTypeMapping()
           
 int hashCode()
           
 boolean isComplex()
           
abstract  java.lang.Object readObject(MessageReader reader, org.codehaus.xfire.MessageContext context)
           
 void setSchemaType(javax.xml.namespace.QName name)
           
 void setTypeClass(java.lang.Class typeClass)
           
 void setTypeMapping(TypeMapping typeMapping)
           
abstract  void writeObject(java.lang.Object object, MessageWriter writer, org.codehaus.xfire.MessageContext context)
           
 void writeSchema(org.dom4j.Element element)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Type

public Type()
Method Detail

readObject

public abstract java.lang.Object readObject(MessageReader reader,
                                            org.codehaus.xfire.MessageContext context)
                                     throws org.codehaus.xfire.fault.XFireFault
Throws:
org.codehaus.xfire.fault.XFireFault

writeObject

public abstract void writeObject(java.lang.Object object,
                                 MessageWriter writer,
                                 org.codehaus.xfire.MessageContext context)
                          throws org.codehaus.xfire.fault.XFireFault
Throws:
org.codehaus.xfire.fault.XFireFault

writeSchema

public void writeSchema(org.dom4j.Element element)
Specified by:
writeSchema in interface org.codehaus.xfire.wsdl.SchemaType

getTypeMapping

public TypeMapping getTypeMapping()
Returns:
Returns the typeMapping.

setTypeMapping

public void setTypeMapping(TypeMapping typeMapping)
Parameters:
typeMapping - The typeMapping to set.

getTypeClass

public java.lang.Class getTypeClass()
Returns:
Returns the typeClass.

setTypeClass

public void setTypeClass(java.lang.Class typeClass)
Parameters:
typeClass - The typeClass to set.

isComplex

public boolean isComplex()
Specified by:
isComplex in interface org.codehaus.xfire.wsdl.SchemaType
Returns:
True if a complex type schema must be written.

getDependencies

public java.util.Set getDependencies()
Return a set of Type dependencies. Returns null if this type has no dependencies.

Specified by:
getDependencies in interface org.codehaus.xfire.wsdl.SchemaType
Returns:

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getSchemaType

public javax.xml.namespace.QName getSchemaType()
Specified by:
getSchemaType in interface org.codehaus.xfire.wsdl.SchemaType
Returns:
Get the schema type.

setSchemaType

public void setSchemaType(javax.xml.namespace.QName name)
Parameters:
name - The qName to set.


Copyright © 2004-2005 Codehaus. All Rights Reserved.