|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.objectweb.jeremie.libs.presentation.std.StdMarshallerFactory
Provides a factory for creating Jeremie marshallers and unmarshallers.
| Inner Class Summary | |
class |
StdMarshallerFactory.StdMarshaller
StdMarshaller is an (abstract) implementation of Marshaller. |
class |
StdMarshallerFactory.StdMarshallerL
StdMarshallerL is a little endian implementation of Marshaller extending StdMarshaller. |
class |
StdMarshallerFactory.StdUnMarshaller
StdUnMarshaller is an (abstract) implementation of UnMarshaller. |
class |
StdMarshallerFactory.StdUnMarshallerD
StdUnMarshaller is an (abstract) implementation of UnMarshaller. |
| Field Summary | |
protected ChunkFactory |
chunk_factory
The chunk factory parameter used to form messages. |
protected ContextFactory |
context_factory
The context factory. |
protected NamingContext |
domain
The domain parameter used to encode references. |
static Chunk |
empty_chunk
An empty chunk. |
| Constructor Summary | |
protected |
StdMarshallerFactory(Object[] used_components)
Creates a standard marshaller factory instance. |
| Method Summary | |
Marshaller |
newMarshaller()
Returns a new marshaller. |
UnMarshaller |
newUnMarshaller(Chunk chunk,
int read)
Returns a new unmarshaller using the provided chunk(s) as a data source. |
UnMarshaller |
newUnMarshaller(ChunkProvider message)
Returns a new unmarshaller using the provided chunk provider as a data source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ChunkFactory chunk_factory
protected NamingContext domain
protected ContextFactory context_factory
public static final Chunk empty_chunk
| Constructor Detail |
protected StdMarshallerFactory(Object[] used_components)
used_components must be an array of two elements, the first
being of type ChunkFactory, the second of type
NamingContext. The latter must be a valid
domainused_components - the components to use to initialize the marshaller
factory.| Method Detail |
public Marshaller newMarshaller()
newMarshaller in interface MarshallerFactorypublic UnMarshaller newUnMarshaller(ChunkProvider message)
newUnMarshaller in interface MarshallerFactoryprovider - a chunk provider.
public UnMarshaller newUnMarshaller(Chunk chunk,
int read)
newUnMarshaller in interface MarshallerFactorychunk - a (chain of) chunk(s);read - the number of bytes already read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||