|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.aegis.type.Type
org.codehaus.xfire.aegis.type.basic.BeanType
public class BeanType
Serializes JavaBeans.
Constructor Summary | |
---|---|
BeanType()
|
|
BeanType(BeanTypeInfo info)
|
Method Summary | |
---|---|
protected java.lang.Object |
createFromFault(org.codehaus.xfire.MessageContext context)
If the class is an exception, this will try and instantiate it with information from the XFireFault (if it exists). |
BeanTypeInfo |
createTypeInfo()
|
java.util.Set |
getDependencies()
Return a set of Type dependencies. |
BeanTypeInfo |
getTypeInfo()
|
boolean |
isComplex()
We need to write a complex type schema for Beans, so return true. |
java.lang.Object |
readObject(MessageReader reader,
org.codehaus.xfire.MessageContext context)
Read in the XML fragment and create an object. |
protected java.lang.Object |
readProperty(java.lang.Object object,
javax.xml.namespace.QName name)
|
void |
setTypeClass(java.lang.Class typeClass)
|
java.lang.String |
toString()
|
void |
writeObject(java.lang.Object object,
MessageWriter writer,
org.codehaus.xfire.MessageContext context)
Writes the object to the MessageWriter. |
protected void |
writeProperty(javax.xml.namespace.QName name,
java.lang.Object object,
java.lang.Object property,
java.lang.Class impl,
BeanTypeInfo info)
Write the specified property to a field. |
void |
writeSchema(org.jdom.Element root)
|
Methods inherited from class org.codehaus.xfire.aegis.type.Type |
---|
equals, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeMapping, setWriteOuter |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeanType()
public BeanType(BeanTypeInfo info)
Method Detail |
---|
public java.lang.Object readObject(MessageReader reader, org.codehaus.xfire.MessageContext context) throws org.codehaus.xfire.fault.XFireFault
Type
readObject
in class Type
org.codehaus.xfire.fault.XFireFault
protected java.lang.Object createFromFault(org.codehaus.xfire.MessageContext context) throws java.lang.SecurityException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
java.lang.SecurityException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
protected void writeProperty(javax.xml.namespace.QName name, java.lang.Object object, java.lang.Object property, java.lang.Class impl, BeanTypeInfo info) throws org.codehaus.xfire.fault.XFireFault
org.codehaus.xfire.fault.XFireFault
public void writeObject(java.lang.Object object, MessageWriter writer, org.codehaus.xfire.MessageContext context) throws org.codehaus.xfire.fault.XFireFault
Type
writeObject
in class Type
org.codehaus.xfire.fault.XFireFault
Type.writeObject(Object,
org.codehaus.xfire.aegis.MessageWriter,
org.codehaus.xfire.MessageContext)
protected java.lang.Object readProperty(java.lang.Object object, javax.xml.namespace.QName name)
public void writeSchema(org.jdom.Element root)
writeSchema
in interface org.codehaus.xfire.wsdl.SchemaType
writeSchema
in class Type
Type.writeSchema(org.jdom.Element)
public void setTypeClass(java.lang.Class typeClass)
setTypeClass
in class Type
typeClass
- The typeClass to set.public boolean isComplex()
isComplex
in interface org.codehaus.xfire.wsdl.SchemaType
isComplex
in class Type
Type.isComplex()
public java.util.Set getDependencies()
Type
getDependencies
in interface org.codehaus.xfire.wsdl.SchemaType
getDependencies
in class Type
Type
dependenciespublic BeanTypeInfo getTypeInfo()
public BeanTypeInfo createTypeInfo()
public java.lang.String toString()
toString
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |