|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.net.jmx.adaptor.AttributeSer
An AttributeSer
is be used to serialize
Attribute objects using the SOAP-ENC
encoding style.
Field Summary | |
protected QName (src) |
xmlType
this is the fully-qualified type that we serialize into |
Constructor Summary | |
AttributeSer(java.lang.Class javaType,
QName (src) xmlType)
|
Method Summary | |
java.lang.String |
getMechanismType()
we use sax approach |
void |
serialize(QName (src) name,
org.xml.sax.Attributes attributes,
java.lang.Object value,
SerializationContext (src) context)
turns a JMX objectname into a string-based xml element |
org.w3c.dom.Element |
writeSchema(java.lang.Class forClass,
Types (src) types)
Return XML schema for the specified type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected QName (src) xmlType
Constructor Detail |
public AttributeSer(java.lang.Class javaType, QName (src) xmlType)
Method Detail |
public void serialize(QName (src) name, org.xml.sax.Attributes attributes, java.lang.Object value, SerializationContext (src) context) throws java.io.IOException
serialize
in interface Serializer (src)
name
- the name of the element that carries our typeattributes
- the attributes of the element that carries our typevalue
- the objectname to serializecontext
- the serialization context we live into
java.io.IOException
public java.lang.String getMechanismType()
getMechanismType
in interface Serializer (src)
public org.w3c.dom.Element writeSchema(java.lang.Class forClass, Types (src) types) throws java.lang.Exception
writeSchema
in interface Serializer (src)
forClass
- the Java Class we're writing out schema fortypes
- the Java2WSDL Types object which holds the context
for the WSDL being generated.
java.lang.Exception
Types
(src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |