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.
TextComponentTagHandlerFactory
NAME_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, supportsContent
public void startElement(String uri, String localName, String qName, Attributes atts) throws DesignImportException
TagHandler
Once 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 TagHandler
startElement
in class AbstractTagHandler
DesignImportException
public void endHandling(String uri, String localName, String qName) throws DesignImportException
TagHandler
This 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 TagHandler
endHandling
in class AbstractTagHandler
DesignImportException
public String getResourceType()
public void setResourceType(String resourceType)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"