org.codehaus.ivory.serialize
Class MetadataSerializer
java.lang.Object
org.apache.axis.encoding.ser.BeanSerializer
org.codehaus.ivory.serialize.MetadataSerializer
- All Implemented Interfaces:
- java.io.Serializable, javax.xml.rpc.encoding.Serializer, org.apache.axis.encoding.Serializer
- public class MetadataSerializer
- extends org.apache.axis.encoding.ser.BeanSerializer
A BeanSerializer with metadata support.
- Since:
- May 21, 2003
- Author:
- Dan Diephouse
- See Also:
- Serialized Form
Fields inherited from class org.apache.axis.encoding.ser.BeanSerializer |
log, propertyDescriptor, typeDesc |
Constructor Summary |
MetadataSerializer(java.lang.Class javaType,
javax.xml.namespace.QName xmlType)
|
MetadataSerializer(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
org.apache.axis.description.TypeDesc typeDesc)
|
MetadataSerializer(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
org.apache.axis.description.TypeDesc typeDesc,
org.apache.axis.utils.BeanPropertyDescriptor[] propertyDescriptor)
|
Method Summary |
org.w3c.dom.Element |
writeSchema(java.lang.Class javaType,
org.apache.axis.wsdl.fromJava.Types types)
Return XML schema for the specified type, suitable for insertion into
the <types> element of a WSDL document, or underneath an
<element> or <attribute> declaration. |
Methods inherited from class org.apache.axis.encoding.ser.BeanSerializer |
getMechanismType, getObjectAttributes, serialize, writeAttribute, writeField |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataSerializer
public MetadataSerializer(java.lang.Class javaType,
javax.xml.namespace.QName xmlType)
MetadataSerializer
public MetadataSerializer(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
org.apache.axis.description.TypeDesc typeDesc)
MetadataSerializer
public MetadataSerializer(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
org.apache.axis.description.TypeDesc typeDesc,
org.apache.axis.utils.BeanPropertyDescriptor[] propertyDescriptor)
writeSchema
public org.w3c.dom.Element writeSchema(java.lang.Class javaType,
org.apache.axis.wsdl.fromJava.Types types)
throws java.lang.Exception
- Return XML schema for the specified type, suitable for insertion into
the <types> element of a WSDL document, or underneath an
<element> or <attribute> declaration.
- Parameters:
javaType
- the Java Class we're writing out schema fortypes
- the Java2WSDL Types object which holds the context
for the WSDL being generated.
- Returns:
- a type element containing a schema simpleType/complexType
- Throws:
java.lang.Exception
- See Also:
Types
Copyright © -2004 Codehaus. All Rights Reserved.