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.
TitleTagHandlerFactory
NAME_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, startElement
public Object getContent(HTMLContentType htmlContentType)
HTMLContentProvider
HTMLContentType
getContent
in interface HTMLContentProvider
getContent
in class AbstractTagHandler
public boolean supportsContent(HTMLContentType htmlContentType)
HTMLContentProvider
HTMLContentType
is supported or notsupportsContent
in interface HTMLContentProvider
supportsContent
in class AbstractTagHandler
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
Copyright © 2010 - 2020 Adobe. All Rights Reserved