public class DefaultMarshaller
extends java.lang.Object
Constructor and Description |
---|
DefaultMarshaller() |
Modifier and Type | Method and Description |
---|---|
static AdaptrisMarshaller |
defaultIfNull(AdaptrisMarshaller m)
Convenience method for null protection.
|
static AdaptrisMarshaller |
getDefaultMarshaller() |
static <T> T |
roundTrip(T o)
Convenience method to roundtrip an object to text and back.
|
static void |
setDefaultMarshaller(AdaptrisMarshaller _marshaller) |
public static AdaptrisMarshaller getDefaultMarshaller()
public static void setDefaultMarshaller(AdaptrisMarshaller _marshaller)
public static AdaptrisMarshaller defaultIfNull(AdaptrisMarshaller m)
m
- the marshaller you think you want to usepublic static <T> T roundTrip(T o) throws CoreException
o
- the objectCoreException
- on exception.