public class TitleTagHandler extends AbstractTagHandler
This tag handler is registered against the markup of type < title >. 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.
TitleTagHandlerFactoryNAME_HINT_PROPERTY_KEY| Constructor and Description |
|---|
TitleTagHandler() |
| 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.
|
Object |
getContent(HTMLContentType htmlContentType)
Gets the content of the type
HTMLContentType |
boolean |
supportsContent(HTMLContentType htmlContentType)
Indicates whether the passed
HTMLContentType is supported or not |
beginHandling, characters, endElement, getPageComponents, setDesignImporterContext, setPageBuilder, setTagHandlerProvider, startElementpublic Object getContent(HTMLContentType htmlContentType)
HTMLContentProviderHTMLContentTypegetContent in interface HTMLContentProvidergetContent in class AbstractTagHandlerpublic boolean supportsContent(HTMLContentType htmlContentType)
HTMLContentProviderHTMLContentType is supported or notsupportsContent in interface HTMLContentProvidersupportsContent in class AbstractTagHandlerpublic 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 AbstractTagHandlerDesignImportExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved