org.ujac.print
Class DocumentMetaData

java.lang.Object
  extended by org.ujac.print.DocumentMetaData

public class DocumentMetaData
extends Object

Title: DocumentMetaData
Description: Holds meta data for PDF documents.

Author:
lauerc

Constructor Summary
DocumentMetaData()
          Constructs a DocumentMetaData instance with no specific attributes.
DocumentMetaData(String title, String author, String subject, String keywords, int pdfxConformance)
          Constructs a DocumentMetaData instance with specific attributes.
 
Method Summary
 String getAuthor()
          Getter method for the the property author.
 String getKeywords()
          Getter method for the the property keywords.
 char getPdfVersion()
          Getter method for the the property pdfVersion.
 int getPdfxConformance()
          Getter method for the the property pdfxConformance.
 String getSubject()
          Getter method for the the property subject.
 String getTitle()
          Getter method for the the property title.
 DocumentMetaData setAuthor(String author)
          Setter method for the the property author.
 DocumentMetaData setKeywords(String keywords)
          Setter method for the the property keywords.
 DocumentMetaData setPdfVersion(char pdfVersion)
          Setter method for the the property pdfVersion.
 DocumentMetaData setPdfxConformance(int pdfxConformance)
          Setter method for the the property pdfxConformance.
 DocumentMetaData setSubject(String subject)
          Setter method for the the property subject.
 DocumentMetaData setTitle(String title)
          Setter method for the the property title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentMetaData

public DocumentMetaData()
Constructs a DocumentMetaData instance with no specific attributes.


DocumentMetaData

public DocumentMetaData(String title,
                        String author,
                        String subject,
                        String keywords,
                        int pdfxConformance)
Constructs a DocumentMetaData instance with specific attributes.

Parameters:
title - The initial title.
author - The initial author.
subject - The initial subject.
keywords - The initial keywords.
pdfxConformance - The initial PDF-X conformance.
Method Detail

getTitle

public String getTitle()
Getter method for the the property title.

Returns:
The current value of property title.

setTitle

public DocumentMetaData setTitle(String title)
Setter method for the the property title.

Parameters:
title - The value to set for the property title.
Returns:
A reference to the current instance.

getAuthor

public String getAuthor()
Getter method for the the property author.

Returns:
The current value of property author.

setAuthor

public DocumentMetaData setAuthor(String author)
Setter method for the the property author.

Parameters:
author - The value to set for the property author.
Returns:
A reference to the current instance.

getSubject

public String getSubject()
Getter method for the the property subject.

Returns:
The current value of property subject.

setSubject

public DocumentMetaData setSubject(String subject)
Setter method for the the property subject.

Parameters:
subject - The value to set for the property subject.
Returns:
A reference to the current instance.

getKeywords

public String getKeywords()
Getter method for the the property keywords.

Returns:
The current value of property keywords.

setKeywords

public DocumentMetaData setKeywords(String keywords)
Setter method for the the property keywords.

Parameters:
keywords - The value to set for the property keywords.
Returns:
A reference to the current instance.

getPdfVersion

public char getPdfVersion()
Getter method for the the property pdfVersion.

Returns:
The current value of property pdfVersion.

setPdfVersion

public DocumentMetaData setPdfVersion(char pdfVersion)
Setter method for the the property pdfVersion.

Parameters:
pdfVersion - The value to set for the property pdfVersion.
Returns:
A reference to the current instance.

getPdfxConformance

public int getPdfxConformance()
Getter method for the the property pdfxConformance.

Returns:
The current value of property pdfxConformance.

setPdfxConformance

public DocumentMetaData setPdfxConformance(int pdfxConformance)
Setter method for the the property pdfxConformance.

Parameters:
pdfxConformance - The value to set for the property pdfxConformance.
Returns:
A reference to the current instance.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.