Interface TRAXTemplatesService
- All Known Implementing Classes:
TRAXTemplatesServiceImpl
public interface TRAXTemplatesService
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTRAXTemplates(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.
-
Method Details
-
addTRAXTemplates
Add new TRAXTemplates to the service.- Parameters:
key- the key for this templates.templates- the TRAXTemplates.- Throws:
IllegalArgumentException
-
addTRAXTemplates
Add new TRAXTemplates to the service from javax.xml.transform.Source.- Parameters:
key- the key for this templates.source- the TRAXTemplates.- Throws:
IllegalArgumentException
-
getTemplates
Get templates by key.- Parameters:
key- the key.- Returns:
- the TRAXTemplates or null.
-