Uses of Class
com.upokecenter.cbor.CBORTypeMapper
-
Packages that use CBORTypeMapper Package Description com.upokecenter.cbor -
-
Uses of CBORTypeMapper in com.upokecenter.cbor
Methods in com.upokecenter.cbor that return CBORTypeMapper Modifier and Type Method Description <T> CBORTypeMapperCBORTypeMapper. AddConverter(java.lang.reflect.Type type, ICBORConverter<T> converter)Registers an object that converts objects of a given type to CBOR objects (called a CBOR converter).CBORTypeMapperCBORTypeMapper. AddTypeName(java.lang.String name)Adds the fully qualified name of a Java or.NET type for use in type matching.CBORTypeMapperCBORTypeMapper. AddTypePrefix(java.lang.String prefix)Adds a prefix of a Java or.NET type for use in type matching.Methods in com.upokecenter.cbor with parameters of type CBORTypeMapper Modifier and Type Method Description static CBORObjectCBORObject. FromObject(java.lang.Object obj, CBORTypeMapper mapper)Generates a CBORObject from an arbitrary object.static CBORObjectCBORObject. FromObject(java.lang.Object obj, CBORTypeMapper mapper, PODOptions options)Generates a CBORObject from an arbitrary object, using the given options to control how certain objects are converted to CBOR objects.<T> TCBORObject. ToObject(java.lang.reflect.Type t, CBORTypeMapper mapper)Converts this CBOR object to an object of an arbitrary type.<T> TCBORObject. ToObject(java.lang.reflect.Type t, CBORTypeMapper mapper, PODOptions options)Converts this CBOR object to an object of an arbitrary type.
-