Class HTMLEditorHandlers2DocbookTransformer
- java.lang.Object
 - 
- org.ametys.cms.transformation.htmledition.HTMLEditorHandlers2DocbookTransformer
 
 
- 
- All Implemented Interfaces:
 Poolable,Recyclable,Component,Serviceable,SitemapModelComponent,Transformer,XMLConsumer,XMLPipe,XMLProducer,XMLConsumer,ContentHandler,LexicalHandler
public class HTMLEditorHandlers2DocbookTransformer extends Object implements Transformer, Serviceable, Recyclable
This cocoon transformer use the DocbookEnhancementExtensionPoint to be based upon a serie of EnhancementHandler 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ContentHandler_contentHandlerThe content handlerprotected DocbookEnhancementExtensionPoint_docbookEnhancementExtensionPointThe docbook enhancement extension pointprotected HTMLEditionHandlerExtensionPoint_htmlEditionExtensionPointThe htmledition extension pointprotected LexicalHandler_lexicalHandlerThe lexical handlerprotected ServiceManager_managerThe service manager- 
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description HTMLEditorHandlers2DocbookTransformer() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)voidcomment(char[] ch, int start, int length)voidendCDATA()voidendDocument()voidendDTD()voidendElement(String uri, String localName, String qName)voidendEntity(String name)voidendPrefixMapping(String prefix)voidignorableWhitespace(char[] ch, int start, int length)voidprocessingInstruction(String target, String data)voidrecycle()voidservice(ServiceManager manager)voidsetConsumer(XMLConsumer consumer)voidsetDocumentLocator(Locator locator)voidsetup(SourceResolver resolver, Map objectModel, String src, Parameters par)voidskippedEntity(String name)voidstartCDATA()voidstartDocument()voidstartDTD(String name, String publicId, String systemId)voidstartElement(String uri, String localName, String qName, Attributes atts)voidstartEntity(String name)voidstartPrefixMapping(String prefix, String uri) 
 - 
 
- 
- 
Field Detail
- 
_manager
protected ServiceManager _manager
The service manager 
- 
_contentHandler
protected ContentHandler _contentHandler
The content handler 
- 
_lexicalHandler
protected LexicalHandler _lexicalHandler
The lexical handler 
- 
_htmlEditionExtensionPoint
protected HTMLEditionHandlerExtensionPoint _htmlEditionExtensionPoint
The htmledition extension point 
- 
_docbookEnhancementExtensionPoint
protected DocbookEnhancementExtensionPoint _docbookEnhancementExtensionPoint
The docbook enhancement extension point 
 - 
 
- 
Constructor Detail
- 
HTMLEditorHandlers2DocbookTransformer
public HTMLEditorHandlers2DocbookTransformer()
 
 - 
 
- 
Method Detail
- 
recycle
public void recycle()
- Specified by:
 recyclein interfaceRecyclable
 
- 
setConsumer
public void setConsumer(XMLConsumer consumer)
- Specified by:
 setConsumerin interfaceXMLProducer
 
- 
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 
- 
setup
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
- Specified by:
 setupin interfaceSitemapModelComponent- Throws:
 ProcessingExceptionSAXExceptionIOException
 
- 
startDocument
public void startDocument() throws SAXException
- Specified by:
 startDocumentin interfaceContentHandler- Throws:
 SAXException
 
- 
endDocument
public void endDocument() throws SAXException
- Specified by:
 endDocumentin interfaceContentHandler- Throws:
 SAXException
 
- 
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
 startElementin interfaceContentHandler- Throws:
 SAXException
 
- 
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
 endElementin interfaceContentHandler- Throws:
 SAXException
 
- 
characters
public void characters(char[] ch, int start, int length) throws SAXException
- Specified by:
 charactersin interfaceContentHandler- Throws:
 SAXException
 
- 
ignorableWhitespace
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
- Specified by:
 ignorableWhitespacein interfaceContentHandler- Throws:
 SAXException
 
- 
startPrefixMapping
public void startPrefixMapping(String prefix, String uri) throws SAXException
- Specified by:
 startPrefixMappingin interfaceContentHandler- Throws:
 SAXException
 
- 
endPrefixMapping
public void endPrefixMapping(String prefix) throws SAXException
- Specified by:
 endPrefixMappingin interfaceContentHandler- Throws:
 SAXException
 
- 
processingInstruction
public void processingInstruction(String target, String data) throws SAXException
- Specified by:
 processingInstructionin interfaceContentHandler- Throws:
 SAXException
 
- 
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
 setDocumentLocatorin interfaceContentHandler
 
- 
skippedEntity
public void skippedEntity(String name) throws SAXException
- Specified by:
 skippedEntityin interfaceContentHandler- Throws:
 SAXException
 
- 
comment
public void comment(char[] ch, int start, int length) throws SAXException
- Specified by:
 commentin interfaceLexicalHandler- Throws:
 SAXException
 
- 
startCDATA
public void startCDATA() throws SAXException
- Specified by:
 startCDATAin interfaceLexicalHandler- Throws:
 SAXException
 
- 
endCDATA
public void endCDATA() throws SAXException
- Specified by:
 endCDATAin interfaceLexicalHandler- Throws:
 SAXException
 
- 
startDTD
public void startDTD(String name, String publicId, String systemId) throws SAXException
- Specified by:
 startDTDin interfaceLexicalHandler- Throws:
 SAXException
 
- 
endDTD
public void endDTD() throws SAXException
- Specified by:
 endDTDin interfaceLexicalHandler- Throws:
 SAXException
 
- 
startEntity
public void startEntity(String name) throws SAXException
- Specified by:
 startEntityin interfaceLexicalHandler- Throws:
 SAXException
 
- 
endEntity
public void endEntity(String name) throws SAXException
- Specified by:
 endEntityin interfaceLexicalHandler- Throws:
 SAXException
 
 - 
 
 -