cachebox.system.core.conversion

Class ObjectMarshaller

lucee.Component
    extended by cachebox.system.core.conversion.ObjectMarshaller

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- Allows you to serialize/deserialize objects

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any deserializeGeneric([any binaryObject])
         Serialize via generic Java.
    any deserializeObject([any binaryObject], [string filePath])
         Deserialize an object using a binary object or a filepath.
    any deserializeWithObjectLoad([any binaryObject])
         Deserialize via ObjectLoad.
    any serializeGeneric([any target])
         Serialize via generic Java.
    any serializeObject(any target, [string filePath])
         Serialize an object and optionally save it into a file.
    any serializeWithObjectSave([any target])
         Serialize via objectSave().
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Method Detail

    deserializeGeneric

    public any deserializeGeneric([any binaryObject])

    Serialize via generic Java

    Parameters:
    binaryObject

    deserializeObject

    public any deserializeObject([any binaryObject], [string filePath])

    Deserialize an object using a binary object or a filepath

    Parameters:
    binaryObject
    filePath - The location of the file that has the binary object to inflate

    deserializeWithObjectLoad

    public any deserializeWithObjectLoad([any binaryObject])

    Deserialize via ObjectLoad

    Parameters:
    binaryObject - The binary object to inflate

    serializeGeneric

    public any serializeGeneric([any target])

    Serialize via generic Java

    Parameters:
    target - The binary object to inflate

    serializeObject

    public any serializeObject(any target, [string filePath])

    Serialize an object and optionally save it into a file.

    Parameters:
    target - The complex object, such as a query or CFC, that will be serialized.
    filePath - The path of the file in which to save the serialized data.

    serializeWithObjectSave

    public any serializeWithObjectSave([any target])

    Serialize via objectSave()

    Parameters:
    target - The complex object, such as a query or CFC, that will be serialized.