jPod PDF library

de.intarsys.pdf.cos
Class COSConverter

java.lang.Object
  extended by de.intarsys.pdf.cos.COSConverter

public class COSConverter
extends Object


Method Summary
static COSObject toCos(Object javaObject)
          Try the best in marshalling java objects directly to COSObject.
static Object toJava(COSObject object)
           
static Object toJava(COSObject object, Map visited)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toCos

public static COSObject toCos(Object javaObject)
Try the best in marshalling java objects directly to COSObject. Collections will be marshalled recursively.

todo this is not yet recursion safe

Parameters:
javaObject - the java object to be marshalled
Returns:
The resulting COSObject

toJava

public static Object toJava(COSObject object)

toJava

public static Object toJava(COSObject object,
                            Map visited)

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.