org.codehaus.xfire.java.type
Class BeanType
java.lang.Object
|
+--org.codehaus.xfire.java.type.Type
|
+--org.codehaus.xfire.java.type.BeanType
- All Implemented Interfaces:
- org.codehaus.xfire.wsdl.WSDLType
- public class BeanType
- extends Type
Serializes JavaBeans.
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BeanType
public BeanType()
readObject
public java.lang.Object readObject(MessageReader reader)
throws org.codehaus.xfire.XFireRuntimeException
- Specified by:
readObject
in class Type
org.codehaus.xfire.XFireRuntimeException
- See Also:
org.codehaus.xfire.java.type.Type#readObject(org.dom4j.Element)
writeObject
public void writeObject(java.lang.Object object,
MessageWriter writer)
throws org.codehaus.xfire.XFireRuntimeException
- Specified by:
writeObject
in class Type
org.codehaus.xfire.XFireRuntimeException
- See Also:
org.codehaus.xfire.java.type.Type#writeObject(java.lang.Object)
writeSchema
public void writeSchema(org.dom4j.Element root)
- Specified by:
writeSchema
in interface org.codehaus.xfire.wsdl.WSDLType
- Overrides:
writeSchema
in class Type
- See Also:
org.codehaus.xfire.java.type.Type#writeSchema()
isComplex
public boolean isComplex()
- We need to write a complex type schema for Beans, so return true.
- Specified by:
isComplex
in interface org.codehaus.xfire.wsdl.WSDLType
- Overrides:
isComplex
in class Type
- Returns:
- True if a complex type schema must be written.
- See Also:
Type.isComplex()
Copyright © 2004 Codehaus. All Rights Reserved.