com.itextpdf.tool.xml.svg.tags
Class DefsTag

java.lang.Object
  extended by com.itextpdf.tool.xml.svg.AbstractGraphicProcessor
      extended by com.itextpdf.tool.xml.svg.tags.DefsTag
All Implemented Interfaces:
TagProcessor

public class DefsTag
extends AbstractGraphicProcessor


Constructor Summary
DefsTag()
           
 
Method Summary
 List<Element> end(WorkerContext ctx, Tag tag, List<Element> currentContent)
          Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List).
 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.svg.AbstractGraphicProcessor
addElementsToMemoryWithId, content, endElement, getCSSResolver, getSvgPipelineContext, isElementWithId, isStackOwner, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefsTag

public DefsTag()
Method Detail

start

public List<Element> start(WorkerContext ctx,
                           Tag tag)
Description copied from class: AbstractGraphicProcessor
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 AbstractGraphicProcessor
Parameters:
ctx - the WorkerContext
tag - the tag
Returns:
an element to be added to current content, may be null

end

public List<Element> end(WorkerContext ctx,
                         Tag tag,
                         List<Element> currentContent)
Description copied from class: AbstractGraphicProcessor
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 AbstractGraphicProcessor
Parameters:
ctx - the WorkerContext
tag - the tag
currentContent - 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.