ca.quine.jcommons.sourceexporter
Class CustomSourceExporter
java.lang.Object
|
+--ca.quine.jcommons.sourceexporter.SourceExporter
|
+--ca.quine.jcommons.sourceexporter.CustomSourceExporter
- public class CustomSourceExporter
- extends SourceExporter
This class demostrates how to subclass the SourceExporter
and add
a custom marshaller.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomSourceExporter
public CustomSourceExporter()
addConfiguredMarshallers
protected void addConfiguredMarshallers()
- Overrides:
addConfiguredMarshallers
in class SourceExporter
export
public static void export(Object object,
String filename)
throws IllegalArgumentException,
IllegalAccessException,
NoSuchFieldException,
ClassNotFoundException,
IOException,
InvocationTargetException,
InstantiationException
IllegalArgumentException
IllegalAccessException
NoSuchFieldException
ClassNotFoundException
IOException
InvocationTargetException
InstantiationException