public class MarshallerRegistryDescriptor extends Object implements Descriptor
MarshallerRegistry extension point.| Modifier and Type | Field and Description |
|---|---|
boolean |
enable |
Class<?> |
klass |
UNIQUE_DESCRIPTOR_ID| Constructor and Description |
|---|
MarshallerRegistryDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The descriptor id, descriptors with same id are merged.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoesRemove, mergepublic MarshallerRegistryDescriptor()
public String getId()
DescriptorTo forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden toString() for exemple.
getId in interface DescriptorCopyright © 2019 Nuxeo. All rights reserved.