com.itextpdf.tool.xml.html
Class NonSanitizedTag
java.lang.Object
com.itextpdf.tool.xml.html.AbstractTagProcessor
com.itextpdf.tool.xml.html.NonSanitizedTag
- All Implemented Interfaces:
- CssAppliersAware, TagProcessor
public class NonSanitizedTag
- extends AbstractTagProcessor
- Author:
- redlab_b
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonSanitizedTag
public NonSanitizedTag()
content
public List<Element> content(WorkerContext ctx,
Tag tag,
String content)
- Description copied from interface:
TagProcessor
- This method is called if there is text content encountered between the
opening and closing tags this TagProcessor is mapped to.
- Specified by:
content in interface TagProcessor- Overrides:
content in class AbstractTagProcessor
- Parameters:
ctx - the WorkerContexttag - the tag encounteredcontent - the text content between the tags this TagProcessor is
mapped to.
- Returns:
- the element to add to the currentContent list
end
public List<Element> end(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
- Description copied from class:
AbstractTagProcessor
- Classes extending AbstractTagProcessor should override this method for
actions that should be done in
TagProcessor.endElement(WorkerContext, Tag, List).
The AbstractTagProcessor.endElement(WorkerContext, Tag, List) calls this method
after or before doing certain stuff, (see it's description).
- Overrides:
end in class AbstractTagProcessor
- Parameters:
ctx - the WorkerContexttag - the tagcurrentContent - the content created from e.g. inner tags, inner content and not yet added to document.
- Returns:
- a List containing iText Element objects
Copyright © 2012. All Rights Reserved.