JAVA/CORBA CLASSES
Accessing item properties in Java classes
Example
You access item properties through the following methods:
getDateTimeValue
returns a DateTime object representing the value of a date-time item;
setDateTimeValue
sets the item value.
getInputSource
reads an item and creates a SAX InputSource for the contents of the object.
getInputStream
reads an item and creates an InputStream for the contents of the object.
getValueDouble
returns a double value containing the value of a numeric item;
setValueDouble
sets the item value.
getValueInteger
returns an int value containing the value of a numeric item;
setValueInteger
sets the item value.
getValueString
returns a String value containing the value of a text item;
setValueString
sets the item value.
getValues
returns a vector of Object objects representing the value or values of an item;
setValues
sets the item values().
isAuthors
returns true if the item is of type Authors;
setAuthors
sets the item type regarding Authors.
isEncrypted
returns true if the item is to be encrypted;
setEncrypted
sets the item encrypted status.
isNames
returns true if the item is of type Names;
setNames
sets the item type regarding Names.
isProtected
returns true if editor access is required to modify the item;
setProtected
sets the item protected status.
isReaders
returns true if the item is of type Readers;
setReaders
sets the item type regarding Readers.
isSigned
returns true if the item is signed;
setSigned
sets the item signed status.
isSummary
returns true if the item value contains summary data;
setSummary
sets the item summary status. Summary data can appear in a view
isSaveToDisk
returns true if the item is saved when the document is saved;
setSaveToDisk
sets the item save status.
getLastModified
returns a DateTime object representing the date and time the item was last modified.
getName
returns a String value containing the name of the item.
getParent
returns a Document object representing the document that contains the item.
getReader
reads an item and creates a Reader for the contents of the object.
getText
returns a String value containing a text rendition of the item's value.
getType
returns an int constant representing the item type.
getValueLength
returns an int value containing the item's storage requirements in bytes.
Example
See Also
Accessing items in Java classes
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary