Class TRAXTemplatesServiceImpl
java.lang.Object
org.exoplatform.services.xml.transform.impl.trax.TRAXTemplatesServiceImpl
- All Implemented Interfaces:
TRAXTemplatesService,org.picocontainer.Startable
public class TRAXTemplatesServiceImpl
extends Object
implements TRAXTemplatesService, org.picocontainer.Startable
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(org.exoplatform.container.component.ComponentPlugin plugin) voidaddTRAXTemplates(String key, Source source) Add new TRAXTemplates to the service from javax.xml.transform.Source.voidaddTRAXTemplates(String key, TRAXTemplates templates) Add new TRAXTemplates to the service.getTemplates(String key) Get templates by key.voidstart()voidstop()
-
Constructor Details
-
TRAXTemplatesServiceImpl
-
-
Method Details
-
getTemplates
Description copied from interface:TRAXTemplatesServiceGet templates by key.- Specified by:
getTemplatesin interfaceTRAXTemplatesService- Parameters:
key- the key.- Returns:
- the TRAXTemplates or null.
-
addTRAXTemplates
Description copied from interface:TRAXTemplatesServiceAdd new TRAXTemplates to the service.- Specified by:
addTRAXTemplatesin interfaceTRAXTemplatesService- Parameters:
key- the key for this templates.templates- the TRAXTemplates.- Throws:
IllegalArgumentException
-
addTRAXTemplates
Description copied from interface:TRAXTemplatesServiceAdd new TRAXTemplates to the service from javax.xml.transform.Source.- Specified by:
addTRAXTemplatesin interfaceTRAXTemplatesService- Parameters:
key- the key for this templates.source- the TRAXTemplates.- Throws:
IllegalArgumentException
-
addPlugin
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin) -
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-