Groovy Documentation

src.java.org.grails.xfire.aegis.type
Class Type

java.lang.Object
  src.java.org.grails.xfire.aegis.type.Type
All Implemented Interfaces:
org.codehaus.xfire.wsdl.SchemaType

class Type

A Type reads and writes XML fragments to create and write objects.

author:
Dan Diephouse


Field Summary
private boolean abstrct

private boolean nillable

private QName schemaType

private java.lang.Class typeClass

private TypeMapping typeMapping

private boolean writeOuter

 
Constructor Summary
Type()

 
Method Summary
boolean equals(java.lang.Object obj)

Set getDependencies()

Return a set of Type dependencies.

QName getSchemaType()

java.lang.Class getTypeClass()

TypeMapping getTypeMapping()

int hashCode()

boolean isAbstract()

boolean isComplex()

boolean isNillable()

boolean isWriteOuter()

java.lang.Object readObject(MessageReader reader, MessageContext context)

Read in the XML fragment and create an object.

void setAbstract(boolean abstrct)

void setNillable(boolean nillable)

void setSchemaType(QName name)

The qName to set.

void setTypeClass(java.lang.Class typeClass)

The typeClass to set.

void setTypeMapping(TypeMapping typeMapping)

The typeMapping to set.

void setWriteOuter(boolean writeOuter)

java.lang.String toString()

void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)

Writes the object to the MessageWriter.

void writeSchema(Element root)

 
Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Field Detail

abstrct

private boolean abstrct


nillable

private boolean nillable


schemaType

private QName schemaType


typeClass

private java.lang.Class typeClass


typeMapping

private TypeMapping typeMapping


writeOuter

private boolean writeOuter


 
Constructor Detail

Type

public Type()


 
Method Detail

equals

public boolean equals(java.lang.Object obj)
see:
java.lang.Object#equals(java.lang.Object)


getDependencies

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


getSchemaType

public QName getSchemaType()
return:
Get the schema type.


getTypeClass

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


getTypeMapping

public TypeMapping getTypeMapping()
return:
Returns the typeMapping.


hashCode

public int hashCode()


isAbstract

public boolean isAbstract()


isComplex

public boolean isComplex()
return:
True if a complex type schema must be written.


isNillable

public boolean isNillable()


isWriteOuter

public boolean isWriteOuter()


readObject

public java.lang.Object readObject(MessageReader reader, MessageContext context)
Read in the XML fragment and create an object.
param:
reader
param:
context
return:
@throws XFireFault


setAbstract

public void setAbstract(boolean abstrct)


setNillable

public void setNillable(boolean nillable)


setSchemaType

public void setSchemaType(QName name)
param:
name The qName to set.


setTypeClass

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


setTypeMapping

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


setWriteOuter

public void setWriteOuter(boolean writeOuter)


toString

public java.lang.String toString()


writeObject

public void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
Writes the object to the MessageWriter.
param:
object
param:
writer
param:
context
throws:
XFireFault


writeSchema

public void writeSchema(Element root)


 

Groovy Documentation