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 String
DEFAULT_SERIALIZER_NAME
The well-known name of the default serializerprotected static String
EXTENSION_POINT_NAME
Extention 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 TemplateSerializer
getSerializer(String id)
Returns theTemplateSerializer
with 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:TemplateSerializerService
Returns theTemplateSerializer
with the givenid
.If no
TemplateSerializer
is found, return the 'default' one.- Specified by:
getSerializer
in interfaceTemplateSerializerService
-
-