com.lowagie.text
Class Header
- Element
This is an
Element
that contains
some userdefined meta information about the document.
Example:
Header header = new Header("inspired by", "William Shakespeare");
private StringBuffer | name - This is the content of this chunk of text.
|
ALIGN_BASELINE , ALIGN_BOTTOM , ALIGN_CENTER , ALIGN_JUSTIFIED , ALIGN_JUSTIFIED_ALL , ALIGN_LEFT , ALIGN_MIDDLE , ALIGN_RIGHT , ALIGN_TOP , ALIGN_UNDEFINED , ANCHOR , ANNOTATION , AUTHOR , CCITTG3_1D , CCITTG3_2D , CCITTG4 , CCITT_BLACKIS1 , CCITT_ENCODEDBYTEALIGN , CCITT_ENDOFBLOCK , CCITT_ENDOFLINE , CELL , CHAPTER , CHUNK , CREATIONDATE , CREATOR , HEADER , IMGRAW , IMGTEMPLATE , JPEG , KEYWORDS , LIST , LISTITEM , MARKED , MULTI_COLUMN_TEXT , PARAGRAPH , PHRASE , PRODUCER , PTABLE , RECTANGLE , ROW , SECTION , SUBJECT , TABLE , TITLE |
Header(String name, String content) - Constructs a
Meta .
|
String | name() - Returns the name of the meta information.
|
name
private StringBuffer name
This is the content of this chunk of text.
Header
public Header(String name,
String content)
Constructs a Meta
.
name
- the name of the meta-informationcontent
- the content
name
public String name()
Returns the name of the meta information.
- name in interface Meta