|
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.PublicFieldsMarshaler
General purpose marshaler for serializing public fields of an object.
PublicFieldsMarshaler
Constructor Summary | |
PublicFieldsMarshaler()
Deprecated. Create a public fields marshaler object. |
|
PublicFieldsMarshaler(Class javaType)
Deprecated. Create a public fields marshaler object for a given class. |
|
PublicFieldsMarshaler(Class javaType,
Field[] fields)
Deprecated. Construct a PublicFieldsMarshaler , which prefers to
marshal javaType . |
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 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 PublicFieldsMarshaler()
public PublicFieldsMarshaler(Class javaType)
javaType
- class of objects to marshalpublic PublicFieldsMarshaler(Class javaType, Field[] fields)
PublicFieldsMarshaler
, which prefers to
marshal javaType
. The marshaler can still marshall
other objects, but will perform better with javaType
.
javaType
- The preferred Java type.fields
- The fields in the order they will be marshaled.Method 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 |