public interface Document extends DocumentInfo, Resource
Document interface represents an existing JCR document.| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding()
Gets the encoding of the document content.
|
String |
getRevisionComment()
Gets the version comment of the revision represented by this
Document object. |
String |
getRevisionId()
Gets the id of the revision represented by this
Document object. |
String |
getRevisionName()
Gets the name of the revision represented by this
Document object. |
long |
getSize()
Gets the size of a the document content in bytes.
|
List<String> |
getVersionLabels()
Gets all labels assigned to the revision represented by this
Document object. |
getContentType, getDocumentAnnotations, getDocumentType, setContentType, setDocumentAnnotations, setDocumentTypegetId, getPath, getRepositoryIdgetDateCreated, getDateLastModified, getDescription, getName, getOwner, getProperties, getProperty, setDescription, setName, setOwner, setProperties, setPropertylong getSize()
String getRevisionId()
Document object.Document object.String getRevisionName()
Document object.Document object.String getRevisionComment()
Document object.Document object.List<String> getVersionLabels()
Document object.Document object.String getEncoding()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.