org.jboss.net.jmx.adaptor
Class ObjectInstanceSer
java.lang.Object
org.jboss.net.jmx.adaptor.ObjectInstanceSer
- All Implemented Interfaces:
- java.io.Serializable, Serializer (src) , Serializer (src)
- public class ObjectInstanceSer
- extends java.lang.Object
- implements Serializer (src)
An ObjectInstanceSer is be used to serialize
ObjectInstance using the SOAP-ENC
encoding style.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getMechanismType()
|
void |
serialize(QName (src) name,
org.xml.sax.Attributes attributes,
java.lang.Object value,
SerializationContext (src) context)
Serialize an element named name, with the indicated attributes
and value. |
org.w3c.dom.Element |
writeSchema(java.lang.Class aClass,
Types (src) 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectInstanceSer
public ObjectInstanceSer()
serialize
public void serialize(QName (src) name,
org.xml.sax.Attributes attributes,
java.lang.Object value,
SerializationContext (src) context)
throws java.io.IOException
- Description copied from interface:
Serializer (src)
- Serialize an element named name, with the indicated attributes
and value.
- Specified by:
serialize in interface Serializer (src)
- Parameters:
name - is the element nameattributes - are the attributes...serialize is free to add more.value - is the valuecontext - is the SerializationContext
- Throws:
java.io.IOException
writeSchema
public org.w3c.dom.Element writeSchema(java.lang.Class aClass,
Types (src) types)
throws java.lang.Exception
- Description copied from interface:
Serializer (src)
- 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.
- Specified by:
writeSchema in interface Serializer (src)
- Parameters:
aClass - 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 (src)
getMechanismType
public java.lang.String getMechanismType()
- Specified by:
getMechanismType in interface Serializer (src)