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 MarshallingContext
public int getCurrentVersion()
getCurrentVersion
in interface MarshallingContext
public org.jboss.marshalling.Unmarshaller createUnmarshaller(int version) throws IOException
createUnmarshaller
in interface MarshallingContext
IOException
public org.jboss.marshalling.Marshaller createMarshaller(int version) throws IOException
createMarshaller
in interface MarshallingContext
IOException
public boolean isMarshallable(Object object)
MarshallingContext
isMarshallable
in interface MarshallingContext
object
- an object to be marshalledCopyright © 2017 JBoss by Red Hat. All rights reserved.