tmozIDocument Interface Reference

Document. More...

List of all members.

Public Member Functions

boolean hasAttribute (in AString name)
 Check if document has given attribute.
AString getAttribute (in AString name)
 Return value of given attribute.
boolean isModified ()
 Check if document is modified Function check if document is modified.


Detailed Description

Document.

Object represent document stored in the repository (tmozIDocumentRepository).


Member Function Documentation

AString getAttribute ( in AString  name  ) 

Return value of given attribute.

Function return value of the attribute.

Parameters:
name Name of the attribute.
Returns:
Return value of the attribute.
Note:
Function throws exception if attribute does not exist.

boolean hasAttribute ( in AString  name  ) 

Check if document has given attribute.

Function check if attribute has attribute.

Parameters:
name Name of the attribute.
Returns:
Return true if document has attribute. Return false if document has not attribute.

boolean isModified (  ) 

Check if document is modified Function check if document is modified.

Returns:
Return true if document is modified. Return false if document is not modified.
Note:
New document is always marked as modified.


Generated on Thu Aug 27 12:37:06 2009 for Tahiti XPCOM API