4Suite API Documentation

Module Ft.Server.Server.SCore.RawFileImp

Rawfile repository resource class.

Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Fields:

Classes

Every resource in the repository is a RawFile

Methods

Return this object as a non-live compiled schematron document
Return this object as a non-live compiled stylesheet
Get the string content of this resource
Get the resource the represents the content of this object
getImt(self)
Returns the Internet Media Type of the raw file resource
Get the string meta data of this resource
setContent(self, src)
Set the string content of this resource
setImt(self, imt)
Sets the Internet Media Type of the raw file resource

Methods inherited from class Ft.Server.Server.SCore.ResourceMetaDataImp.ResourceMetaDataImp

Fields

Functions

NewRawFileXml(driver, path, acl, owner, imt, src)

Fields

FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
SET_IMT_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x...mt">%s</xupdate:update>\n</xupdate:modifications>\n'
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'