ru.novosoft.dc.rtf.dom
Class DocumentVariables

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

public class DocumentVariables
extends java.lang.Object

The class contains document variables of rtf-document.


Constructor Summary
DocumentVariables()
           
 
Method Summary
 void exportTo(org.w3c.dom.Element elem)
          Export the contents of this object to the specified DOM element.
 java.util.Enumeration getNamesOfVariables()
          Return the enumeration of names of all defined variables.
 java.lang.String getVariable(java.lang.String name)
          Return the value of variable or null if the variable with the specified name is undefined.
 void setVariable(java.lang.String name, java.lang.String value)
          Set a value of variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentVariables

public DocumentVariables()
Method Detail

setVariable

public final void setVariable(java.lang.String name,
                              java.lang.String value)
Set a value of variable.

getVariable

public final java.lang.String getVariable(java.lang.String name)
Return the value of variable or null if the variable with the specified name is undefined.

getNamesOfVariables

public final java.util.Enumeration getNamesOfVariables()
Return the enumeration of names of all defined variables.

exportTo

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