ru.novosoft.dc.rtf.dom
Class DocumentInformation

java.lang.Object
  |
  +--ru.novosoft.dc.rtf.dom.DocumentInformation

public class DocumentInformation
extends java.lang.Object

The class contains document properties described in the "info" group of rtf-document.


Constructor Summary
DocumentInformation()
           
 
Method Summary
 void exportTo(org.w3c.dom.Element elem)
          Export the contents of this object to the specified DOM element.
 java.util.Enumeration getNamesOfProperties()
          Return the enumeration of names of all defined preset properties.
 java.lang.Object getProperty(java.lang.String name)
          Return a preset property value or null if the property with the specified name is undefined.
 void setProperty(java.lang.String name, java.lang.Object value)
          Set a preset property (the value type is either String or RTFDate).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentInformation

public DocumentInformation()
Method Detail

setProperty

public final void setProperty(java.lang.String name,
                              java.lang.Object value)
Set a preset property (the value type is either String or RTFDate).

getProperty

public final java.lang.Object getProperty(java.lang.String name)
Return a preset property value or null if the property with the specified name is undefined.

getNamesOfProperties

public final java.util.Enumeration getNamesOfProperties()
Return the enumeration of names of all defined preset properties.

exportTo

public void exportTo(org.w3c.dom.Element elem)
Export the contents of this object to the specified DOM element.