endurox-java
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | List of all members
org.endurox.TypedJson Class Reference

Public Member Functions

 TypedJson (AtmiCtx ctx, boolean doFinalize, long cPtr, long len)
 
native void setJSON (String str)
 
native String getJSON ()
 
- Public Member Functions inherited from org.endurox.TypedBuffer
native void tprealloc (long size)
 
 TypedBuffer (AtmiCtx ctx, boolean doFinalize, long cPtr, long len)
 
void setAtmiCtx (AtmiCtx ctx)
 
void cleanup ()
 
void setDoFinalize (boolean b)
 
native TpTypesResult tptypes ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.endurox.TypedBuffer
void finalize () throws Throwable
 

Detailed Description

Typed JSON ATMI buffer

Constructor & Destructor Documentation

org.endurox.TypedJson.TypedJson ( AtmiCtx  ctx,
boolean  doFinalize,
long  cPtr,
long  len 
)

Initialize JSON buffer

Parameters
ctx[in]ATMI Context allocated this method
doFinalize[in]Should
cPtr[in]C pointer to allocated block
len[in]Conditional buffer length

Member Function Documentation

native String org.endurox.TypedJson.getJSON ( )

Get string value from buffer

Returns
string value read
native void org.endurox.TypedJson.setJSON ( String  str)

Install string value

Parameters
strNew value to set in string buffer