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) |
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)
isMarshallable in interface MarshallabilityCopyright © 2018 JBoss by Red Hat. All rights reserved.