Package org.openpdf.text
Class Meta
java.lang.Object
org.openpdf.text.Meta
- All Implemented Interfaces:
Element
This is an
Element that contains some meta information about the document.
An object of type Meta can not be constructed by the user. User defined meta information should be
placed in a Header-object.
Meta is reserved for: Subject, Keywords, Author, Title, Producer
and Creationdate information.
- See Also:
-
Field Summary
Fields inherited from interface org.openpdf.text.Element
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, KEYWORDS, MARKED, MODIFICATIONDATE, PRODUCER, RECTANGLE, SUBJECT, TABLE, TITLE -
Method Summary
Modifier and TypeMethodDescriptionReturns the content of the meta information.booleanChecks if this element is a content object.booleanChecks if this element is nestable.inttype()Gets the type of the text element.
-
Method Details
-
type
public int type()Gets the type of the text element. -
isContent
public boolean isContent()Description copied from interface:ElementChecks if this element is a content object. If not, it's a metadata object. -
isNestable
public boolean isNestable()Description copied from interface:ElementChecks if this element is nestable.- Specified by:
isNestablein interfaceElement- Returns:
- true if this element can be nested inside other elements.
- Since:
- iText 2.0.8
- See Also:
-
getContent
Returns the content of the meta information.- Returns:
- a
String
-