jaxg 0.1dev

org.xml.graphics
Class DocumentMetadata

java.lang.Object
  extended by org.xml.graphics.DocumentMetadata

public class DocumentMetadata
extends java.lang.Object

Represents basic document metadata that can be set as an option on the XGResult. Implementations can subclass this class to provide additional information. All items here are not mandatory. Implementations may ignore this object entirely but shouldn't throw an Exception when it is set.

Author:
Jeremias Maerki

Field Summary
static java.lang.String KEY
          For use as a key to XGResult.setOutputProperty()
 
Constructor Summary
DocumentMetadata()
           
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getCreator()
           
 java.lang.String getKeywords()
           
 java.lang.String getTitle()
           
 void setAuthor(java.lang.String author)
           
 void setCreator(java.lang.String creator)
           
 void setKeywords(java.lang.String keywords)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
For use as a key to XGResult.setOutputProperty()

See Also:
Constant Field Values
Constructor Detail

DocumentMetadata

public DocumentMetadata()
Method Detail

getAuthor

public java.lang.String getAuthor()
Returns:
Returns the author.

setAuthor

public void setAuthor(java.lang.String author)
Parameters:
author - The author to set.

getKeywords

public java.lang.String getKeywords()
Returns:
Returns the keywords.

setKeywords

public void setKeywords(java.lang.String keywords)
Parameters:
keywords - The keywords to set.

getTitle

public java.lang.String getTitle()
Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - The title to set.

setCreator

public void setCreator(java.lang.String creator)
Parameters:
creator - The name of the application that created the original document now being converted to a different form.

getCreator

public java.lang.String getCreator()
Returns:
the name of the application that created the original document now being converted to a different form.

jaxg 0.1dev

Copyright © 2004-2005 Jeremias Märki. All rights reserved.