Class 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:
    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

      • name

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