public class XStreamMarshaller extends XStreamMarshaller
AdaptrisMarshaller
that supports xinclude directives when unmarshalling.
It uses the XInclude feature of Xerces-J.
In the adapter configuration file this class is aliased as xstream-xinclude-marshaller which is the preferred alternative to the fully qualified classname when building your configuration.
AdaptrisMarshaller.MarshalInputStream, AdaptrisMarshaller.MarshalOutputStream
instance
Constructor and Description |
---|
XStreamMarshaller() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
unmarshal(java.io.File file) |
java.lang.Object |
unmarshal(java.io.InputStream stream) |
java.lang.Object |
unmarshal(java.io.Reader reader) |
java.lang.Object |
unmarshal(java.lang.String xml) |
java.lang.Object |
unmarshal(java.net.URL fileUrl) |
java.lang.Object |
unmarshal(URLString loc) |
getInstance
marshal, marshal
connectToUrl, marshal, marshal, marshal, marshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
uncheckedMarshal, uncheckedUnmarshal
public XStreamMarshaller() throws CoreException
CoreException
public java.lang.Object unmarshal(java.io.Reader reader) throws CoreException
unmarshal
in interface AdaptrisMarshaller
unmarshal
in class XStreamMarshallerImpl
CoreException
public java.lang.Object unmarshal(java.lang.String xml) throws CoreException
unmarshal
in interface AdaptrisMarshaller
unmarshal
in class AbstractMarshaller
CoreException
public java.lang.Object unmarshal(java.io.File file) throws CoreException
unmarshal
in interface AdaptrisMarshaller
unmarshal
in class AbstractMarshaller
CoreException
public java.lang.Object unmarshal(java.net.URL fileUrl) throws CoreException
unmarshal
in interface AdaptrisMarshaller
unmarshal
in class AbstractMarshaller
CoreException
public java.lang.Object unmarshal(URLString loc) throws CoreException
unmarshal
in interface AdaptrisMarshaller
unmarshal
in class AbstractMarshaller
CoreException
public java.lang.Object unmarshal(java.io.InputStream stream) throws CoreException
unmarshal
in interface AdaptrisMarshaller
unmarshal
in class AbstractMarshaller
CoreException