public class NonScriptTagHandler extends AbstractTagHandler
This tag handler is registered against the markup of type < script type="text/template" >. 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.
NonScriptTagHandlerFactoryNAME_HINT_PROPERTY_KEY| Constructor and Description |
|---|
NonScriptTagHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginHandling(String uri,
String localName,
String qName,
Attributes atts)
Callback to signal the start of handling giving the tag handler a chance for running intialization routines.
|
void |
characters(char[] ch,
int start,
int length)
Callback to signal the encounter of character content within tags.
|
void |
endHandling(String uri,
String localName,
String qName)
Callback to signal the end of handling giving the tag handler a chance for finalizing things.
|
endElement, getContent, getPageComponents, setDesignImporterContext, setPageBuilder, setTagHandlerProvider, startElement, supportsContentpublic void beginHandling(String uri, String localName, String qName, Attributes atts)
TagHandler
TagHandlers are registered against tag+attribute combination and are invoked by the HTMLContentHandler as and when it
encounters a tag matching the tag attribute combination the tag handler is registered with.
beginHandling in interface TagHandlerbeginHandling in class AbstractTagHandlerpublic void endHandling(String uri, String localName, String qName)
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 AbstractTagHandlerpublic void characters(char[] ch,
int start,
int length)
throws DesignImportException
TagHandlercharacters in interface TagHandlercharacters in class AbstractTagHandlerDesignImportExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved