weborb.writer.wolf
Class WOLFFormatter
java.lang.Object
weborb.writer.wolf.WOLFFormatter
- All Implemented Interfaces:
- IProtocolFormatter
public class WOLFFormatter
- extends java.lang.Object
- implements IProtocolFormatter
WOLFFormatter
- Author:
- Midnight Coders, LLC
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOLFFormatter
public WOLFFormatter()
directWriteString
public void directWriteString(java.lang.String str)
throws java.io.IOException
- Specified by:
directWriteString in interface IProtocolFormatter
- Throws:
java.io.IOException
directWriteInt
public void directWriteInt(int i)
throws java.io.IOException
- Specified by:
directWriteInt in interface IProtocolFormatter
- Throws:
java.io.IOException
directWriteBoolean
public void directWriteBoolean(boolean b)
throws java.io.IOException
- Specified by:
directWriteBoolean in interface IProtocolFormatter
- Throws:
java.io.IOException
directWriteShort
public void directWriteShort(int s)
throws java.io.IOException
- Specified by:
directWriteShort in interface IProtocolFormatter
- Throws:
java.io.IOException
beginWriteMessage
public void beginWriteMessage(Message message)
throws java.io.IOException
- Specified by:
beginWriteMessage in interface IProtocolFormatter
- Throws:
java.io.IOException
endWriteMessage
public void endWriteMessage()
throws java.io.IOException
- Specified by:
endWriteMessage in interface IProtocolFormatter
- Throws:
java.io.IOException
writeMessageVersion
public void writeMessageVersion(float version)
throws java.io.IOException
- Specified by:
writeMessageVersion in interface IProtocolFormatter
- Throws:
java.io.IOException
beginWriteArray
public void beginWriteArray(int length)
throws java.io.IOException
- Specified by:
beginWriteArray in interface IProtocolFormatter
- Throws:
java.io.IOException
endWriteArray
public void endWriteArray()
throws java.io.IOException
- Specified by:
endWriteArray in interface IProtocolFormatter
- Throws:
java.io.IOException
writeBoolean
public void writeBoolean(boolean b)
throws java.io.IOException
- Specified by:
writeBoolean in interface IProtocolFormatter
- Throws:
java.io.IOException
writeDate
public void writeDate(long time)
throws java.io.IOException
- Specified by:
writeDate in interface IProtocolFormatter
- Throws:
java.io.IOException
beginWriteObjectMap
public void beginWriteObjectMap(int size)
throws java.io.IOException
- Specified by:
beginWriteObjectMap in interface IProtocolFormatter
- Throws:
java.io.IOException
endWriteObjectMap
public void endWriteObjectMap()
throws java.io.IOException
- Specified by:
endWriteObjectMap in interface IProtocolFormatter
- Throws:
java.io.IOException
writeFieldName
public void writeFieldName(java.lang.String s)
throws java.io.IOException
- Specified by:
writeFieldName in interface IProtocolFormatter
- Throws:
java.io.IOException
beginWriteFieldValue
public void beginWriteFieldValue()
throws java.io.IOException
- Specified by:
beginWriteFieldValue in interface IProtocolFormatter
- Throws:
java.io.IOException
endWriteFieldValue
public void endWriteFieldValue()
throws java.io.IOException
- Specified by:
endWriteFieldValue in interface IProtocolFormatter
- Throws:
java.io.IOException
writeNull
public void writeNull()
throws java.io.IOException
- Specified by:
writeNull in interface IProtocolFormatter
- Throws:
java.io.IOException
writeNumber
public void writeNumber(double number)
throws java.io.IOException
- Specified by:
writeNumber in interface IProtocolFormatter
- Throws:
java.io.IOException
beginWriteNamedObject
public void beginWriteNamedObject(java.lang.String objectName,
int fieldCount)
throws java.io.IOException
- Specified by:
beginWriteNamedObject in interface IProtocolFormatter
- Throws:
java.io.IOException
endWriteNamedObject
public void endWriteNamedObject()
throws java.io.IOException
- Specified by:
endWriteNamedObject in interface IProtocolFormatter
- Throws:
java.io.IOException
beginWriteObject
public void beginWriteObject()
throws java.io.IOException
- Specified by:
beginWriteObject in interface IProtocolFormatter
- Throws:
java.io.IOException
endWriteObject
public void endWriteObject()
throws java.io.IOException
- Specified by:
endWriteObject in interface IProtocolFormatter
- Throws:
java.io.IOException
writeReference
public void writeReference(short refID)
throws java.io.IOException
- Specified by:
writeReference in interface IProtocolFormatter
- Throws:
java.io.IOException
writeString
public void writeString(java.lang.String s)
throws java.io.IOException
- Specified by:
writeString in interface IProtocolFormatter
- Throws:
java.io.IOException
writeXML
public void writeXML(org.jdom.Document document)
throws java.io.IOException
- Specified by:
writeXML in interface IProtocolFormatter
- Throws:
java.io.IOException
getBytes
public byte[] getBytes()
throws java.io.IOException
- Specified by:
getBytes in interface IProtocolFormatter
- Throws:
java.io.IOException
getDocument
public org.jdom.Document getDocument()
cleanup
public void cleanup()
- Specified by:
cleanup in interface IProtocolFormatter
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface IProtocolFormatter
getWriter
public ITypeWriter getWriter(java.lang.Class type)
- Specified by:
getWriter in interface IProtocolFormatter
beginWriteBodyContent
public void beginWriteBodyContent()
- Specified by:
beginWriteBodyContent in interface IProtocolFormatter
endWriteBodyContent
public void endWriteBodyContent()
- Specified by:
endWriteBodyContent in interface IProtocolFormatter
resetReferenceCache
public void resetReferenceCache()
- Specified by:
resetReferenceCache in interface IProtocolFormatter
getObjectSerializer
public IObjectSerializer getObjectSerializer()
- Specified by:
getObjectSerializer in interface IProtocolFormatter
getReferenceCache
public ReferenceCache getReferenceCache()
- Specified by:
getReferenceCache in interface IProtocolFormatter
writeArrayReference
public void writeArrayReference(short refId)
- Specified by:
writeArrayReference in interface IProtocolFormatter
writeObjectReference
public void writeObjectReference(short refId)
- Specified by:
writeObjectReference in interface IProtocolFormatter
writeStringReference
public void writeStringReference(short refId)
- Specified by:
writeStringReference in interface IProtocolFormatter
Discuss WebORB
Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.