Method Summary |
|
public static void | convert(String filename) Converts a java serialized bean to XML on standard output.
Example: java fr.dyade.koala.xml.kbml.Util -convert
myBean.ser
Parameters: filename - The filename of java serialized file. |
public static Object | deserialize(String filename, String output) Deserializes a bean from KBML file. |
public static PropertyDescriptor | getPropertyDescriptor(PropertyDescriptor[] pds, String prop) Returns the property descriptor from the specified set of property
descriptors and which has the specified property name. |
public static void | initializePropertyEditorManager() Registers default PropertyEditors to the
java.beans.PropertyEditorManager, so the bean introspector can
use them. |
public static void | main(String[] argv) Invokes the different methods. |
public static void | report(String className, boolean doSort) Finds and prints all properties of a bean by automatic
introspection. |
public static void | serialize(String className) Serializes in XML an empty bean. |
public static String | toXML(String s) Returns an XML version of the string (with entities to quote
special characters like <>&"'). |