Class TemplateSerializerServiceImpl
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.template.serializer.service.TemplateSerializerServiceImpl
-
- All Implemented Interfaces:
Adaptable,Component,Extensible,TimestampedService,TemplateSerializerService
public class TemplateSerializerServiceImpl extends DefaultComponent implements TemplateSerializerService
- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_SERIALIZER_NAMEThe well-known name of the default serializerprotected static StringEXTENSION_POINT_NAMEExtention point name-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description TemplateSerializerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateSerializergetSerializer(String id)Returns theTemplateSerializerwith the givenid.-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
Methods inherited from interface org.nuxeo.template.serializer.service.TemplateSerializerService
deserializeXML, serializeXML
-
-
-
-
Field Detail
-
EXTENSION_POINT_NAME
protected static final String EXTENSION_POINT_NAME
Extention point name- See Also:
- Constant Field Values
-
DEFAULT_SERIALIZER_NAME
protected static final String DEFAULT_SERIALIZER_NAME
The well-known name of the default serializer- See Also:
- Constant Field Values
-
-
Method Detail
-
getSerializer
public TemplateSerializer getSerializer(String id)
Description copied from interface:TemplateSerializerServiceReturns theTemplateSerializerwith the givenid.If no
TemplateSerializeris found, return the 'default' one.- Specified by:
getSerializerin interfaceTemplateSerializerService
-
-