Class SpanWrapper

java.lang.Object
com.itextpdf.html2pdf.attach.wrapelement.SpanWrapper
All Implemented Interfaces:
IWrapElement

public class SpanWrapper extends Object implements IWrapElement
Wrapper for the span element.
  • Constructor Details

    • SpanWrapper

      public SpanWrapper()
  • Method Details

    • add

      public void add (SpanWrapper span)
      Adds a child span.
      Parameters:
      span - the span element to add
    • add

      public void add (com.itextpdf.layout.element.ILeafElement img)
      Adds a child image.
      Parameters:
      img - the img element to add
    • add

      public void add (com.itextpdf.layout.element.IBlockElement block)
      Adds a child block element.
      Parameters:
      block - the block element to add
    • addAll

      public void addAll (Collection collection)
      Adds a collection of lead elements as children.
      Parameters:
      collection - the collection to add
    • getElements

      public List getElements()
      Gets a list of all the child elements.
      Returns:
      the child elements