weborb.writer
Class MessageWriter
java.lang.Object
weborb.writer.MessageWriter
public class MessageWriter
- extends java.lang.Object
MessageWriter
- Author:
- Midnight Coders, LLC
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageWriter
public MessageWriter()
ignoreClass
public static void ignoreClass(java.lang.String className)
- Parameters:
className -
addTypeWriter
public static void addTypeWriter(java.lang.Class clazz,
ITypeWriter typeWriter)
- Add a writer and map it to the class
- Parameters:
clazz - class to map the writer totypeWriter - writer object to register with the engine.
removeTypeWriter
public static void removeTypeWriter(java.lang.Class clazz)
isIgnored
public static boolean isIgnored(java.lang.String className)
- Parameters:
className -
- Returns:
writeObject
public static void writeObject(java.lang.Object object,
IProtocolFormatter formatter)
throws java.io.IOException
- Serialize object accordingly to the AMF serialization protocol. All output
is written to the output stream
- Parameters:
object - object to serializeformatter - protocol formatter encapsulating the knowledge of the on-the-wire-protocol
- Throws:
java.io.IOException
resetCash
public static void resetCash()
getWriter
public static ITypeWriter getWriter(java.lang.Class clazz,
IProtocolFormatter formatter,
boolean checkInterfaces)
Discuss WebORB
Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.