org.codehaus.xfire.java.type
Class Type
java.lang.Object
|
+--org.codehaus.xfire.java.type.Type
- All Implemented Interfaces:
- org.codehaus.xfire.wsdl.WSDLType
- Direct Known Subclasses:
- ArrayType, BeanType, BooleanType, CalendarType, DateType, DoubleType, FloatType, IntType, LongType, StringType
- public abstract class Type
- extends java.lang.Object
- implements org.codehaus.xfire.wsdl.WSDLType
Type
- Author:
- Dan Diephouse
Constructor Summary |
Type()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Type
public Type()
readObject
public abstract java.lang.Object readObject(MessageReader reader)
writeObject
public abstract void writeObject(java.lang.Object object,
MessageWriter writer)
writeSchema
public void writeSchema(org.dom4j.Element element)
- Specified by:
writeSchema
in interface org.codehaus.xfire.wsdl.WSDLType
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.WSDLType
- 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.WSDLType
- 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 org.dom4j.QName getSchemaType()
- Specified by:
getSchemaType
in interface org.codehaus.xfire.wsdl.WSDLType
- Returns:
- Returns the qName.
setSchemaType
public void setSchemaType(org.dom4j.QName name)
- Parameters:
name
- The qName to set.
Copyright © 2004 Codehaus. All Rights Reserved.