com.itextpdf.tool.xml.html.head
Class Link
java.lang.Object
com.itextpdf.tool.xml.html.AbstractTagProcessor
com.itextpdf.tool.xml.html.head.Link
- All Implemented Interfaces:
- CssAppliersAware, TagProcessor
public class Link
- extends AbstractTagProcessor
The Link TagProcessor will try to add the content of a <link> that has the attribute type set to "text/css" to the
CssResolverPipeline CSS. If the content cannot be parsed, an error is logged.
- Author:
- redlab_b
|
Constructor Summary |
Link()
|
| Methods inherited from class com.itextpdf.tool.xml.html.AbstractTagProcessor |
content, currentContentToParagraph, currentContentToParagraph, end, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, isStackOwner, setCssAppliers, startElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Link
public Link()
start
public List<Element> start(WorkerContext ctx,
Tag tag)
- Description copied from class:
AbstractTagProcessor
- Classes extending AbstractTagProcessor should override this method for actions that should be done in
TagProcessor.startElement(WorkerContext, Tag). The AbstractTagProcessor.startElement(WorkerContext, Tag) calls this method
after or before doing certain stuff, (see it's description).
- Overrides:
start in class AbstractTagProcessor
- Parameters:
ctx - the WorkerContexttag - the tag
- Returns:
- an element to be added to current content, may be null
Copyright © 2012. All Rights Reserved.