Class 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:
    Element, Meta
    • Constructor Detail

      • Header

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

      • getName

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