Packagelc.domain
Classpublic class DocumentReference
InheritanceDocumentReference Inheritance Object

The DocumentReference class provides a reference to a document, which exists on the server.

When a Document object is returned from the server, it becomes a DocumentReference in LiveCycle Workspace ES with a URL to retrieve the document and a MIME type. Based on the MIME type, Workspace ES determines whether to field the URL to the browser (where it is a PDF or HTML file) or to load it directly (for SWF files).



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  type : String
The MIME type of the document.
DocumentReference
  url : String
The URL reference to the document.
DocumentReference
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
typeproperty
type:String  [read-write]

The MIME type of the document.


Implementation
    public function get type():String
    public function set type(value:String):void
urlproperty 
url:String  [read-write]

The URL reference to the document.


Implementation
    public function get url():String
    public function set url(value:String):void




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/domain/DocumentReference.html