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
    • Field Detail

      • name

        private java.lang.StringBuffer name
        This is the content of this chunk of text.
    • Constructor Detail

      • Header

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

      • getName

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