|
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.mapping.BeanMarshaler
General purpose marshaler for serializing Java Beans. Only the read/write properties are marshaled.
BeanMarshaler
Constructor Summary | |
BeanMarshaler()
Deprecated. Create a bean marshaler object. |
|
BeanMarshaler(Class javaType)
Deprecated. Create a bean marshaler object for a given class. |
Method Summary | |
Object |
deserialize(InputStream is,
Class javaType)
Deprecated. Initialize the given bean object from the given input stream |
Attribute[] |
getAttributes(Object obj)
Deprecated. Get the element attributes |
void |
serialize(OutputStream os,
Object obj)
Deprecated. 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 |
Constructor Detail |
public BeanMarshaler()
public BeanMarshaler(Class javaType)
javaType
- class of beansMethod Detail |
public Attribute[] getAttributes(Object obj)
getAttributes
in interface Serializer
obj
- the object that is being serialized
public void serialize(OutputStream os, Object obj) throws IOException
serialize
in interface Serializer
os
- the portable output streamobj
- the object to write
IOException
- if an I/O exception occurred during writepublic Object deserialize(InputStream is, Class javaType) throws IOException
deserialize
in interface Deserializer
is
- 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 |