Class Header

java.lang.Object
com.lowagie.text.Meta
com.lowagie.text.Header
All Implemented Interfaces:
Element

public class Header extends Meta
This is an Element that contains some user defined 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

    • getName

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