|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sssw.jbroker.web.encoding.BeanMarshaler
General purpose marshaler for serializing Java Beans. Only the read/write properties are marshaled.
| Field Summary | |
static com.sssw.jbroker.util.Messages |
_messages
|
| Constructor Summary | |
BeanMarshaler()
Create a bean marshaler object. |
|
BeanMarshaler(Class javaType)
Create a bean marshaler object for a given class. |
|
| Method Summary | |
Object |
deserialize(InputStream is,
Class javaType)
Initialize the given bean object from the given input stream |
Attribute[] |
getAttributes(Object obj)
Get the element attributes |
String |
getMechanismType()
Get the serializer's mechanism type. |
void |
serialize(OutputStream os,
Object obj)
Serialize the given bean object to the given output stream |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final com.sssw.jbroker.util.Messages _messages
| Constructor Detail |
public BeanMarshaler()
public BeanMarshaler(Class javaType)
javaType - class of beans| Method Detail |
public String getMechanismType()
getMechanismType in interface Serializerpublic Attribute[] getAttributes(Object obj)
getAttributes in interface Serializerobj - the object that is being serialized
public void serialize(OutputStream os,
Object obj)
throws IOException
serialize in interface Serializeros - the portable output streamobj - the object to write
IOException - if an I/O exception occurred during write
public Object deserialize(InputStream is,
Class javaType)
throws IOException
deserialize in interface Deserializeris - the input stream to read object fromjavaType - the expected Java type
IOException - if an I/O exception occurred duing read
|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||