com.itextpdf.tool.xml.html.head
Class Meta

java.lang.Object
  extended by com.itextpdf.tool.xml.html.AbstractTagProcessor
      extended by com.itextpdf.tool.xml.html.head.Meta
All Implemented Interfaces:
CssAppliersAware, TagProcessor

@Experimental
public class Meta
extends AbstractTagProcessor

Supports detection of:

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
charset is parsed and used as encoding for Strings


Constructor Summary
Meta()
           
 
Method Summary
 List<Element> start(WorkerContext ctx, Tag tag)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.startElement(WorkerContext, Tag).
 
Methods inherited from class com.itextpdf.tool.xml.html.AbstractTagProcessor
content, currentContentToParagraph, currentContentToParagraph, end, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, isStackOwner, setCssAppliers, startElement, textContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Meta

public Meta()
Method Detail

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 WorkerContext
tag - the tag
Returns:
an element to be added to current content, may be null


Copyright © 2012. All Rights Reserved.