|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.wtc.jatmi.StandardTypes | +--weblogic.wtc.jatmi.TypedString
This is the jatmi analogue to the STRING Tuxedo buffer type
StandardTypes
,
TypedBuffer
, Serialized FormConstructor Summary | |
TypedString()
Generates a StringBuffer with the default capacity of 16 |
|
TypedString(int capacity)
Creates an empty StringBuffer that has the initial capacity given |
|
TypedString(java.lang.String str)
Constructor. |
Method Summary | |
void |
_tmpostrecv(java.io.DataInputStream decoder,
int recv_size)
XDR decodes the given string. |
void |
_tmpresend(java.io.DataOutputStream encoder)
This function presends and encodes the given TypedBuffer object. |
java.lang.StringBuffer |
getStringBuffer()
Gets the StringBuffer associated with this object. |
java.lang.String |
toString()
Returns a copy of this object as a String |
Methods inherited from class weblogic.wtc.jatmi.StandardTypes |
getHintIndex,
getSubtype,
getType,
hint_to_type |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public TypedString()
public TypedString(int capacity)
capacity
- The capacity the StringBuffer associated with this
TypedString should havepublic TypedString(java.lang.String str)
str
- the string to initialize this object withMethod Detail |
public java.lang.StringBuffer getStringBuffer()
public void _tmpresend(java.io.DataOutputStream encoder) throws TPException, java.io.IOException
XDR encodes the given string. XDR encoding of a string is four length bytes (not including any NULL byte at the end) followed by the string itself (low 32 bits of the unicode characters). It is padded out to make the total length a multiple of four.
encoder
- The output stream to encode this type to. Should
not be padded.public void _tmpostrecv(java.io.DataInputStream decoder, int recv_size) throws TPException, java.io.IOException
decoder
- A stream that starts with the encoded data
for this buffer type. Only recv_size bytes should
be read from the stream (though at the time this function
is called all bytes necessary to decode this type should
be available)recv_size
- The total size of encoded data from the
start position (note that encoded may be larger than
the actual recieved size)public java.lang.String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |