com.lowagie.text
public class: Header [javadoc |
source]
java.lang.Object
com.lowagie.text.Meta
com.lowagie.text.Header
All Implemented Interfaces:
Element
This is an
Element that contains
some user defined meta information about the document.
Example:
Header header = new Header("inspired by", "William Shakespeare");
| Constructor: |
public Header(String name,
String content) {
super(Element.HEADER, content);
this.name = new StringBuffer(name);
}
Parameters:
name - the name of the meta-information
content - the content
|
| Method from com.lowagie.text.Header Summary: |
|---|
|
getName |
| Method from com.lowagie.text.Header Detail: |
public String getName() {
return name.toString();
}
Returns the name of the meta information. |