public class SimpleMarshallingContext extends Object implements MarshallingContext
| Constructor and Description |
|---|
SimpleMarshallingContext(org.jboss.marshalling.MarshallerFactory factory,
MarshallingConfigurationRepository repository,
ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.marshalling.Marshaller |
createMarshaller(int version) |
org.jboss.marshalling.Unmarshaller |
createUnmarshaller(int version) |
ClassLoader |
getClassLoader() |
int |
getCurrentVersion() |
boolean |
isMarshallable(Object object)
Indicates whether the specified object can be marshalled.
|
public SimpleMarshallingContext(org.jboss.marshalling.MarshallerFactory factory,
MarshallingConfigurationRepository repository,
ClassLoader loader)
public ClassLoader getClassLoader()
getClassLoader in interface MarshallingContextpublic int getCurrentVersion()
getCurrentVersion in interface MarshallingContextpublic org.jboss.marshalling.Unmarshaller createUnmarshaller(int version)
throws IOException
createUnmarshaller in interface MarshallingContextIOExceptionpublic org.jboss.marshalling.Marshaller createMarshaller(int version)
throws IOException
createMarshaller in interface MarshallingContextIOExceptionpublic boolean isMarshallable(Object object)
MarshallingContextisMarshallable in interface MarshallingContextobject - an object to be marshalledCopyright © 2022 JBoss by Red Hat. All rights reserved.