org.codehaus.xfire.aegis.type
Class Type

java.lang.Object
  extended byorg.codehaus.xfire.aegis.type.Type
All Implemented Interfaces:
org.codehaus.xfire.wsdl.SchemaType
Direct Known Subclasses:
ArrayType, Base64Type, BeanType, BigDecimalType, BooleanType, CalendarType, DateTimeType, DateType, DocumentType, DoubleType, FloatType, HolderType, IntType, JDOMElementType, LongType, MapType, ObjectType, ShortType, SourceType, StringType, TimestampType, TimeType, URIType, XMLStreamReaderType, 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 isAbstract()
           
 boolean isComplex()
           
 boolean isNillable()
           
 boolean isWriteOuter()
           
abstract  java.lang.Object readObject(MessageReader reader, org.codehaus.xfire.MessageContext context)
           
 void setAbstract(boolean abstrct)
           
 void setNillable(boolean nillable)
           
 void setSchemaType(javax.xml.namespace.QName name)
           
 void setTypeClass(java.lang.Class typeClass)
           
 void setTypeMapping(TypeMapping typeMapping)
           
 void setWriteOuter(boolean writeOuter)
           
abstract  void writeObject(java.lang.Object object, MessageWriter writer, org.codehaus.xfire.MessageContext context)
           
 void writeSchema(org.jdom.Element root)
           
 
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.jdom.Element root)
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.

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface org.codehaus.xfire.wsdl.SchemaType

setAbstract

public void setAbstract(boolean abstrct)

isNillable

public boolean isNillable()
Specified by:
isNillable in interface org.codehaus.xfire.wsdl.SchemaType

setNillable

public void setNillable(boolean nillable)

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:
Set of Type dependencies

equals

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

hashCode

public int hashCode()

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.

isWriteOuter

public boolean isWriteOuter()
Specified by:
isWriteOuter in interface org.codehaus.xfire.wsdl.SchemaType

setWriteOuter

public void setWriteOuter(boolean writeOuter)


Copyright © 2004-2006 null. All Rights Reserved.