public class IndesignCatalogueGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private CatalogsManager |
_catalogsManager
The catalogs manager
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
IndesignCatalogueGenerator() |
Modifier and Type | Method and Description |
---|---|
protected String |
_getUri(String programId,
String xslt)
Get the URI corresponding to the pipeline
|
private void |
_saxPrograms(String catalogName,
String lang,
String xslt)
SAX the programs for the given catalogue and language
|
void |
generate() |
void |
service(ServiceManager sManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private CatalogsManager _catalogsManager
public IndesignCatalogueGenerator()
public void service(ServiceManager sManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxPrograms(String catalogName, String lang, String xslt) throws MalformedURLException, IOException, SAXException
catalogName
- the catalog's namelang
- the programs' languagexslt
- the xslt used to transform a given programMalformedURLException
- if the url is malformedIOException
- if an in / out type error occursSAXException
- if an exception occurs while saxing