xelem.3.0

nl.fountain.xelem.excel.o
Class ODocumentProperties

java.lang.Object
  extended by nl.fountain.xelem.excel.AbstractXLElement
      extended by nl.fountain.xelem.excel.o.ODocumentProperties
All Implemented Interfaces:
DocumentProperties, XLElement

public class ODocumentProperties
extends AbstractXLElement
implements DocumentProperties

An implementation of the XLElement DocumentProperties.


Field Summary
 
Fields inherited from interface nl.fountain.xelem.excel.XLElement
PREFIX_HTML, PREFIX_O, PREFIX_SS, PREFIX_X, XMLNS, XMLNS_HTML, XMLNS_O, XMLNS_SS, XMLNS_X
 
Constructor Summary
ODocumentProperties()
          Creates a new ODocumentProperties.
 
Method Summary
 Element assemble(Element parent, GIO gio)
          Assembles the state of this XLElement and all of it's children into an Element.
 String getAppName()
           
 String getAuthor()
           
 String getCategory()
           
 String getCompany()
           
 Date getCreated()
           
 String getDescription()
           
 String getHyperlinkBase()
           
 String getKeywords()
           
 String getLastAuthor()
           
 Date getLastPrinted()
           
 Date getLastSaved()
           
 String getManager()
           
 String getNameSpace()
          Gets the namespace of this XLElement.
 String getPrefix()
          Gets the prefix of this XLElement.
 String getSubject()
           
 String getTagName()
          Gets the tagname (localName) of this XLElement.
 String getTitle()
           
 String getVersion()
           
 void setAppName(String appname)
           
 void setAuthor(String author)
           
 void setCategory(String category)
           
 void setChildElement(String localName, String content)
          Does effectively nothing.
 void setCompany(String company)
           
 void setCreated(Date created)
           
 void setDescription(String description)
           
 void setHyperlinkBase(String hyperlinkbase)
          Sets the hyperlinkbase for this workbook.
 void setKeywords(String keywords)
           
 void setLastAuthor(String lastAuthor)
           
 void setLastSaved(Date lastsaved)
           
 void setManager(String manager)
           
 void setSubject(String subject)
           
 void setTitle(String title)
           
 
Methods inherited from class nl.fountain.xelem.excel.AbstractXLElement
addElementComment, assemble, createAttributeNS, createAttributeNS, createElementNS, createElementNS, createElementNS, createElementNS, getElementComments, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nl.fountain.xelem.excel.XLElement
addElementComment, getElementComments, setAttributes
 

Constructor Detail

ODocumentProperties

public ODocumentProperties()
Creates a new ODocumentProperties.

See Also:
Workbook.getDocumentProperties()
Method Detail

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface DocumentProperties

setSubject

public void setSubject(String subject)
Specified by:
setSubject in interface DocumentProperties

setKeywords

public void setKeywords(String keywords)
Specified by:
setKeywords in interface DocumentProperties

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface DocumentProperties

setCategory

public void setCategory(String category)
Specified by:
setCategory in interface DocumentProperties

setAuthor

public void setAuthor(String author)
Specified by:
setAuthor in interface DocumentProperties

setLastAuthor

public void setLastAuthor(String lastAuthor)
Specified by:
setLastAuthor in interface DocumentProperties

setManager

public void setManager(String manager)
Specified by:
setManager in interface DocumentProperties

setCompany

public void setCompany(String company)
Specified by:
setCompany in interface DocumentProperties

setHyperlinkBase

public void setHyperlinkBase(String hyperlinkbase)
Description copied from interface: DocumentProperties
Sets the hyperlinkbase for this workbook. The hyperlinkbase -when set- is prepended before link-values in cells. For instance: a hyperlinkbase of "file://C:/foo/" and a cell where upon the HRef is set as "bar.txt" will result in the link encountered in that cell pointing to "file://C:/foo/bar.txt".

Specified by:
setHyperlinkBase in interface DocumentProperties

setAppName

public void setAppName(String appname)
Specified by:
setAppName in interface DocumentProperties

setCreated

public void setCreated(Date created)
Specified by:
setCreated in interface DocumentProperties

setLastSaved

public void setLastSaved(Date lastsaved)
Specified by:
setLastSaved in interface DocumentProperties

getTagName

public String getTagName()
Description copied from interface: XLElement
Gets the tagname (localName) of this XLElement.

Specified by:
getTagName in interface XLElement
Returns:
qualified name

getNameSpace

public String getNameSpace()
Description copied from interface: XLElement
Gets the namespace of this XLElement.

Specified by:
getNameSpace in interface XLElement
Returns:
namespace

getPrefix

public String getPrefix()
Description copied from interface: XLElement
Gets the prefix of this XLElement.

Specified by:
getPrefix in interface XLElement
Returns:
prefix

assemble

public Element assemble(Element parent,
                        GIO gio)
Description copied from interface: XLElement
Assembles the state of this XLElement and all of it's children into an Element. Attaches the new element to it's parent-element if needed.

Specified by:
assemble in interface XLElement
Parameters:
parent - the parent-element to which the new formed element will be appended
gio - a global information object
Returns:
the newly assembled element. may be null.

setChildElement

public void setChildElement(String localName,
                            String content)
Description copied from class: AbstractXLElement
Does effectively nothing.

Specified by:
setChildElement in interface XLElement
Overrides:
setChildElement in class AbstractXLElement
Parameters:
localName - the local name of the child
content - the content of the child

getTitle

public String getTitle()
Specified by:
getTitle in interface DocumentProperties

getSubject

public String getSubject()
Specified by:
getSubject in interface DocumentProperties

getKeywords

public String getKeywords()
Specified by:
getKeywords in interface DocumentProperties

getDescription

public String getDescription()
Specified by:
getDescription in interface DocumentProperties

getCategory

public String getCategory()
Specified by:
getCategory in interface DocumentProperties

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface DocumentProperties

getLastAuthor

public String getLastAuthor()
Specified by:
getLastAuthor in interface DocumentProperties

getManager

public String getManager()
Specified by:
getManager in interface DocumentProperties

getCompany

public String getCompany()
Specified by:
getCompany in interface DocumentProperties

getHyperlinkBase

public String getHyperlinkBase()
Specified by:
getHyperlinkBase in interface DocumentProperties

getAppName

public String getAppName()
Specified by:
getAppName in interface DocumentProperties

getCreated

public Date getCreated()
Specified by:
getCreated in interface DocumentProperties

getLastSaved

public Date getLastSaved()
Specified by:
getLastSaved in interface DocumentProperties

getLastPrinted

public Date getLastPrinted()
Specified by:
getLastPrinted in interface DocumentProperties

getVersion

public String getVersion()
Specified by:
getVersion in interface DocumentProperties

xelem.3.0