MarshallerFactory interface. This
instance can be configured at any time; however any marshallers and unmarshallers
produced will have a configuration based on a snapshot of the values of this instance's
configuration.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected int | Returns: the default buffer sizeGet the default buffer size, which is used if none was configured. |
| protected ClassExternalizerFactory | Returns: the class externalizer factoryGet the default class externalizer factory, which is used if none was configured. |
| protected ClassResolver | Returns: the class resolverGet the default class resolver, which is used if none was configured. |
| protected ClassTable | Returns: the class tableGet the default class table, which is used if none was configured. |
| protected ObjectResolver | Returns: the object resolverGet the default object resolver, which is used if none was configured. |
| protected ObjectTable | Returns: the object tableGet the default object, which is used if none was configured. |
| protected StreamHeader | Returns: the stream headerGet the default stream header, which is used if none was configured. |
| protected int | Returns: the default version to useGet the default version, which is used if none was configured. |
| protected int |
| AbstractMarshallerFactory | back to summary |
|---|---|
| protected AbstractMarshallerFactory() Construct a new marshaller factory instance. | |
| getDefaultBufferSize | back to summary |
|---|---|
| protected int getDefaultBufferSize() Get the default buffer size, which is used if none was configured. This base implementation returns 512.
| |
| getDefaultClassExternalizerFactory | back to summary |
|---|---|
| protected ClassExternalizerFactory getDefaultClassExternalizerFactory() Get the default class externalizer factory, which is used if none was configured. This base implementation returns a no-operation class externalizer factory.
| |
| getDefaultClassResolver | back to summary |
|---|---|
| protected ClassResolver getDefaultClassResolver() Get the default class resolver, which is used if none was configured. This base implementation returns a
new
| |
| getDefaultClassTable | back to summary |
|---|---|
| protected ClassTable getDefaultClassTable() Get the default class table, which is used if none was configured. This base implementation returns a no-operation class table.
| |
| getDefaultObjectResolver | back to summary |
|---|---|
| protected ObjectResolver getDefaultObjectResolver() Get the default object resolver, which is used if none was configured. This base implementation returns an identity object resolver.
| |
| getDefaultObjectTable | back to summary |
|---|---|
| protected ObjectTable getDefaultObjectTable() Get the default object, which is used if none was configured. This base implementation returns a no-operation object table.
| |
| getDefaultStreamHeader | back to summary |
|---|---|
| protected StreamHeader getDefaultStreamHeader() Get the default stream header, which is used if none was configured. This base implementation returns a no-operation stream header (writes and reads no bytes).
| |
| getDefaultVersion | back to summary |
|---|---|
| protected int getDefaultVersion() Get the default version, which is used if none was configured. This base implementation returns -1.
| |
| getMinimumBufferSize | back to summary |
|---|---|
| protected int getMinimumBufferSize() Get the minimum buffer size. This base implementation returns 64.
| |