Stellent
HowToComponents
JavaDoc

intradoc.soap
Class SoapDimeRecord

java.lang.Object
  |
  +--intradoc.soap.SoapDimeRecord

public class SoapDimeRecord
extends java.lang.Object


Field Summary
static int DIME_HEADER_SIZE
           
static int DIME_PADDING
           
static int DIME_TYPE_FORMAT_MEDIA
           
static int DIME_TYPE_FORMAT_URI
           
static int DIME_VERSION
           
 int m_dataLength
           
 int m_idLength
           
 boolean m_isMsgBegin
           
 boolean m_isMsgEnd
           
 java.lang.String m_options
           
 int m_optionsLength
           
 java.lang.String m_recordID
           
 java.lang.String m_recordType
           
 int m_typeFormat
           
 int m_typeLength
           
 
Constructor Summary
SoapDimeRecord()
           
 
Method Summary
protected  int convertBytesToInt(byte[] b, int start, int length)
           
protected  void convertIntToBytes(int value, byte[] b, int start, int length)
           
protected  void convertStringToBytes(java.lang.String value, byte[] b, int start)
           
 byte[] getPaddingBytes(int length)
           
 int getPaddingLength(int length)
           
 void parse(java.io.InputStream is)
           
protected  void parseBody(java.io.InputStream is)
           
protected  void parseHeader(java.io.InputStream is)
           
 void readPadding(java.io.InputStream is, int length)
           
 byte[] send()
           
 void sendHeader(byte[] body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIME_VERSION

public static final int DIME_VERSION
See Also:
Constant Field Values

DIME_HEADER_SIZE

public static final int DIME_HEADER_SIZE
See Also:
Constant Field Values

DIME_PADDING

public static final int DIME_PADDING
See Also:
Constant Field Values

DIME_TYPE_FORMAT_MEDIA

public static final int DIME_TYPE_FORMAT_MEDIA
See Also:
Constant Field Values

DIME_TYPE_FORMAT_URI

public static final int DIME_TYPE_FORMAT_URI
See Also:
Constant Field Values

m_isMsgBegin

public boolean m_isMsgBegin

m_isMsgEnd

public boolean m_isMsgEnd

m_typeFormat

public int m_typeFormat

m_optionsLength

public int m_optionsLength

m_idLength

public int m_idLength

m_typeLength

public int m_typeLength

m_dataLength

public int m_dataLength

m_options

public java.lang.String m_options

m_recordID

public java.lang.String m_recordID

m_recordType

public java.lang.String m_recordType
Constructor Detail

SoapDimeRecord

public SoapDimeRecord()
Method Detail

parse

public void parse(java.io.InputStream is)
           throws java.io.IOException,
                  DataException
java.io.IOException
DataException

parseHeader

protected void parseHeader(java.io.InputStream is)
                    throws DataException,
                           java.io.IOException
DataException
java.io.IOException

parseBody

protected void parseBody(java.io.InputStream is)
                  throws java.io.IOException
java.io.IOException

send

public byte[] send()

sendHeader

public void sendHeader(byte[] body)

convertBytesToInt

protected int convertBytesToInt(byte[] b,
                                int start,
                                int length)

convertIntToBytes

protected void convertIntToBytes(int value,
                                 byte[] b,
                                 int start,
                                 int length)

convertStringToBytes

protected void convertStringToBytes(java.lang.String value,
                                    byte[] b,
                                    int start)

readPadding

public void readPadding(java.io.InputStream is,
                        int length)
                 throws java.io.IOException
java.io.IOException

getPaddingLength

public int getPaddingLength(int length)

getPaddingBytes

public byte[] getPaddingBytes(int length)


(c) 1996-2005  All rights reserved.  Stellent, Inc.