Interface EncodableValue
-
- All Known Subinterfaces:
ExecutableDeployItem
- All Known Implementing Classes:
AbstractCLValue
,AbstractCLValueWithChildren
,AbstractSerializedKeyTaggedHex
,Approval
,CLValueAny
,CLValueBool
,CLValueByteArray
,CLValueFixedList
,CLValueI32
,CLValueI64
,CLValueKey
,CLValueList
,CLValueMap
,CLValueOption
,CLValuePublicKey
,CLValueResult
,CLValueString
,CLValueTuple1
,CLValueTuple2
,CLValueTuple3
,CLValueU128
,CLValueU256
,CLValueU32
,CLValueU512
,CLValueU64
,CLValueU8
,CLValueUnit
,CLValueURef
,Deploy
,DeployHeader
,Digest
,Key
,ModuleBytes
,NamedArg
,PublicKey
,Signature
,StoredContractByHash
,StoredContractByName
,StoredVersionedContractByHash
,StoredVersionedContractByName
,Transfer
,Ttl
public interface EncodableValue
Defines an object as being capable of encoding withCLValueEncoder
- Since:
- 0.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
encode(CLValueEncoder clve, boolean encodeType)
Called when the object's values must be encoded for serializing
-
-
-
Method Detail
-
encode
void encode(CLValueEncoder clve, boolean encodeType) throws java.io.IOException, CLValueEncodeException, DynamicInstanceException, NoSuchTypeException
Called when the object's values must be encoded for serializing- Parameters:
clve
- the encoder to be usedencodeType
- append encoded type?- Throws:
NoSuchTypeException
- thrown if type not foundDynamicInstanceException
- thrown if it could not instantiate a typeCLValueEncodeException
- thrown if failed to encode a cl valuejava.io.IOException
- thrown if an IO error occurs
-
-