ru.novosoft.dc.rtf.dom
Class CustomInformation
java.lang.Object
|
+--ru.novosoft.dc.rtf.dom.CustomInformation
- public class CustomInformation
- extends java.lang.Object
The class contains custom document properties described in the
"userprops" group of rtf-document.
|
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 custom properties. |
CustomProperty |
getProperty(java.lang.String name)
Return a custom property value or null if the custom property with the
specified name is undefined. |
void |
setProperty(java.lang.String name,
CustomProperty value)
Set a custom property. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CustomInformation
public CustomInformation()
setProperty
public final void setProperty(java.lang.String name,
CustomProperty value)
- Set a custom property.
getProperty
public final CustomProperty getProperty(java.lang.String name)
- Return a custom property value or null if the custom property with the
specified name is undefined.
getNamesOfProperties
public final java.util.Enumeration getNamesOfProperties()
- Return the enumeration of names of all defined custom properties.
exportTo
public void exportTo(org.w3c.dom.Element elem)
- Export the contents of this object to the specified DOM element.