public class DefinitionsGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private SiteManager |
_siteManager |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
DefinitionsGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
protected void |
saxDefinition(DefaultDefinition definition)
Generate a word definition.
|
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private SiteManager _siteManager
public DefinitionsGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void saxDefinition(DefaultDefinition definition) throws SAXException
definition
- the definition to generate.SAXException
- If an error occurs while generating the XML.