java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.Meta
com.gitlab.pdftk_java.com.lowagie.text.Header
All Implemented Interfaces:
Element, MarkupAttributes

public class Header extends Meta implements Element
This is an Element that contains some userdefined meta information about the document.

Example:

 Header header = new Header("inspired by", "William Shakespeare");
 
See Also:
  • Field Details

    • name

      private StringBuffer name
      This is the content of this chunk of text.
  • Constructor Details

    • Header

      public Header(String name, String content)
      Constructs a Meta.
      Parameters:
      name - the name of the meta-information
      content - the content
  • Method Details

    • name

      public String name()
      Returns the name of the meta information.
      Overrides:
      name in class Meta
      Returns:
      a String