public class CanvasComponentTagHandler extends AbstractTagHandler implements EntryTagHandler, ContainerComponentProvider
This tag handler is registered against the markup of type <div id="cqcanvas">. That implies this tag handler will come into action whenever the design importer framework encounters an HTML tag matching the rule this handler is defined against.
TextComponentTagHandlerFactoryNAME_HINT_PROPERTY_KEY| Constructor and Description |
|---|
CanvasComponentTagHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
endHandling(String uri,
String localName,
String qName)
Callback to signal the end of handling giving the tag handler a chance for finalizing things.
|
String |
getResourceType() |
void |
setResourceType(String resourceType) |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts)
Callback to signal the encounter of a tag start.
|
beginHandling, characters, endElement, getContent, getPageComponents, setDesignImporterContext, setPageBuilder, setTagHandlerProvider, supportsContentpublic void startElement(String uri, String localName, String qName, Attributes atts) throws DesignImportException
TagHandlerOnce a tag handler begins handling, it receives the start tag events for all the nested tags within the purview of the tag this tag handler is registered against.
startElement in interface TagHandlerstartElement in class AbstractTagHandlerDesignImportExceptionpublic void endHandling(String uri, String localName, String qName) throws DesignImportException
TagHandlerThis is arguably the last callback a tag handler receives. After this, the current tag handler is popped out from the chain and the subsequent Tika events are directed to preceding tag handlers.
endHandling in interface TagHandlerendHandling in class AbstractTagHandlerDesignImportExceptionpublic String getResourceType()
public void setResourceType(String resourceType)
Copyright © 2010 - 2020 Adobe. All Rights Reserved