|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.aegis.type.Type
public abstract class Type
A Type reads and writes XML fragments to create and write objects.
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()
The schema type that this SchemaType represents. |
java.lang.Class |
getTypeClass()
|
TypeMapping |
getTypeMapping()
|
int |
hashCode()
|
boolean |
isAbstract()
Whether or not this a complexType or a concrete element. |
boolean |
isComplex()
Whether or not this a complex type. |
boolean |
isNillable()
|
boolean |
isWriteOuter()
|
abstract 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(javax.xml.namespace.QName name)
|
void |
setTypeClass(java.lang.Class typeClass)
|
void |
setTypeMapping(TypeMapping typeMapping)
|
void |
setWriteOuter(boolean writeOuter)
|
java.lang.String |
toString()
|
abstract void |
writeObject(java.lang.Object object,
MessageWriter writer,
MessageContext context)
Writes the object to the MessageWriter. |
void |
writeSchema(Element root)
Write the type schema (if complex) to the element. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Type()
Method Detail |
---|
public abstract java.lang.Object readObject(MessageReader reader, MessageContext context) throws XFireFault
reader
- context
-
XFireFault
public abstract void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context) throws XFireFault
object
- writer
- context
-
XFireFault
public void writeSchema(Element root)
SchemaType
writeSchema
in interface SchemaType
public TypeMapping getTypeMapping()
public void setTypeMapping(TypeMapping typeMapping)
typeMapping
- The typeMapping to set.public java.lang.Class getTypeClass()
public void setTypeClass(java.lang.Class typeClass)
typeClass
- The typeClass to set.public boolean isComplex()
SchemaType
isComplex
in interface SchemaType
public boolean isAbstract()
SchemaType
isAbstract
in interface SchemaType
public void setAbstract(boolean abstrct)
public boolean isNillable()
isNillable
in interface SchemaType
public void setNillable(boolean nillable)
public java.util.Set getDependencies()
getDependencies
in interface SchemaType
Type
dependenciespublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
public javax.xml.namespace.QName getSchemaType()
SchemaType
getSchemaType
in interface SchemaType
public void setSchemaType(javax.xml.namespace.QName name)
name
- The qName to set.public boolean isWriteOuter()
isWriteOuter
in interface SchemaType
public void setWriteOuter(boolean writeOuter)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |