JAVA/CORBA CLASSES
Represents a discrete value or set of values in a document.
The client interface displays items in a document through fields on a form. When a field on a form and an item in a document have the same name, the field displays the item (for example, the Subject field displays the Subject item).
All items in a document are accessible programmatically, regardless of what form is used to display the document in the user interface.
Syntax
public class Item extends Base
Derived Classes
RichTextItem inherits from Item class.
Containment
Contained by: Document
Contains: DateTime, MIMEEntity
Properties
DateTimeValue through getDateTimeValue and setDateTimeValue
InputSource through getInputSource
InputStream through getInputStream
IsAuthors through isAuthors and setAuthors
IsEncrypted through isEncrypted and setEncrypted
IsNames through isNames and setNames
IsProtected through isProtected and setProtected
IsReaders through isReaders and setReaders
IsSaveToDisk through isSaveToDisk and setSaveToDisk
IsSigned through isSigned and setSigned
IsSummary through isSummary and setSummary
LastModified through getLastModified
Name through getName
Parent through getParent
Reader through getReader
Text through getText
Type through getType
ValueDouble through getValueDouble and setValueDouble
ValueInteger through getValueInteger and setValueInteger
ValueLength through getValueLength
Values through getValues and setValues
ValueString through getValueString and setValueString
Methods
abstractText
appendToTextList
containsValue
copyItemToDocument
getMIMEEntity
getValueCustomData
getValueCustomDataBytes
getValueDateTimeArray
parseXML
recycle
remove
setValueCustomData
setValueCustomDataBytes
toString
transformXML
Creation
To create a new Item object:
Explicitly call setSummary and specify true if you want the value to be displayed in a view or folder.
Access
To access an existing Item object:
RichTextItem inherits the properties and methods of Item and has additional properties and methods you can use to manipulate rich text.
Saving Changes
After you create or modify an item, you must save the changes by calling the parent document's save method.
If you don't call save before the program finishes, all of your changes to an Item object are lost.
Example See Also