public class IndesignTransformationHelper extends AbstractLogEnabled implements Component, Serviceable
Modifier and Type | Field and Description |
---|---|
private static String |
__GLOBAL_XSLT_DIRECTORY_URI
The path of the catalog transformation stylesheets
|
private static String |
__XSLT_DIRECTORY_URI
The path of the single program transformation stylesheets
|
private SourceResolver |
_srcResolver |
static String |
ROLE
The Indesign Transformation Helper's role
|
Constructor and Description |
---|
IndesignTransformationHelper() |
Modifier and Type | Method and Description |
---|---|
private I18nizableText |
_parseI18nizableText(Configuration textConfig,
String defaultCatalogue) |
private I18nizableText |
_parseLabel(String rootURI,
String value) |
private Map<String,I18nizableText> |
_parseXSLTFiles(String rootURI)
Get the xslt data from the given directory
|
Map<String,I18nizableText> |
getIndesignGlobalXslt()
Get available XSLT files for ODF catalog InDesign export
|
Map<String,I18nizableText> |
getIndesignXslt()
Get available XSLT files for single program InDesign export
|
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private static final String __XSLT_DIRECTORY_URI
private static final String __GLOBAL_XSLT_DIRECTORY_URI
private SourceResolver _srcResolver
public IndesignTransformationHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<String,I18nizableText> getIndesignXslt()
public Map<String,I18nizableText> getIndesignGlobalXslt()
private Map<String,I18nizableText> _parseXSLTFiles(String rootURI) throws IOException
rootURI
- The directory where to find xsl filesIOException
- if error occurred while parsing filesprivate I18nizableText _parseLabel(String rootURI, String value)
private I18nizableText _parseI18nizableText(Configuration textConfig, String defaultCatalogue) throws ConfigurationException
ConfigurationException