com.powerml.structures
Class Summary

java.lang.Object
  extended bycom.powerml.structures.Summary

public final class Summary
extends java.lang.Object

This class contains the presentation's summary (title, subject, author, preview image etc.)


Method Summary
 void addXml(org.dom4j.Element parent, boolean purgeStrings)
          Transforms current instance to XML and adds it to a parent element.
 java.lang.String getAuthor()
          Returns the author of the presentation.
 java.lang.String getCategory()
          Returns the category of the presentation.
 java.lang.String getComments()
          Returns the content of the comments field.
 java.lang.String getCompany()
          Returns the company the presentation was created at.
 java.util.Date getCreationTime()
          Returns the presentation's creation time.
 java.lang.String getKeywords()
          Returns the keywords associated with the presentation.
 java.lang.String getLastAuthor()
          Returns the name of the last author.
 java.lang.String getManager()
          Returns the presentation's manager.
 int getRevision()
          Returns the presentation's revision.
 java.lang.String getSubject()
          Returns the presentation's subject.
 java.lang.String getTemplate()
          Returns the presentation's template.
 byte[] getThumbnail()
          Returns the preview image (possibly) stored in the presentation.
 java.lang.String getTitle()
          Returns the presentation's title.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addXml

public void addXml(org.dom4j.Element parent,
                   boolean purgeStrings)
Transforms current instance to XML and adds it to a parent element.

Parameters:
parent - parent element
purgeStrings - clean strings of control characters

getAuthor

public java.lang.String getAuthor()
Returns the author of the presentation.

Returns:
author

getCategory

public java.lang.String getCategory()
Returns the category of the presentation.

Returns:
category

getComments

public java.lang.String getComments()
Returns the content of the comments field.

Returns:
comments

getCompany

public java.lang.String getCompany()
Returns the company the presentation was created at.

Returns:
company

getCreationTime

public java.util.Date getCreationTime()
Returns the presentation's creation time.

Returns:
creation time

getKeywords

public java.lang.String getKeywords()
Returns the keywords associated with the presentation.

Returns:
keywords

getLastAuthor

public java.lang.String getLastAuthor()
Returns the name of the last author.

Returns:
last autho name

getManager

public java.lang.String getManager()
Returns the presentation's manager.

Returns:
manager

getRevision

public int getRevision()
Returns the presentation's revision.

Returns:
revision

getSubject

public java.lang.String getSubject()
Returns the presentation's subject.

Returns:
subject

getTemplate

public java.lang.String getTemplate()
Returns the presentation's template.

Returns:
template

getThumbnail

public byte[] getThumbnail()
Returns the preview image (possibly) stored in the presentation.

Returns:
thumbnail

getTitle

public java.lang.String getTitle()
Returns the presentation's title.

Returns:
title


© 2004-2005 Ralf Terdic. All rights reserved.
www.powerml.com