4Suite API Documentation

Module Ft.Server.Server.Xslt.ResourceMetaData

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Server/Xslt/ResourceMetaData.py,v 1.36 2005/04/06 23:05:46 jkloth Exp $
Classes:
Functions:
Fields:

Classes

## ##################################### ## #ACL Interfaces ## #####################################

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'access': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'allowed': <Ft.Xml.Xslt.AttributeInfo.YesNoAvt instance>, 'ident': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'alias': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'doc-def': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'access': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


class MarkTemporaryElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
## ######################################## ## #Temporary file Interfaces ## ########################################

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'time-to-live': <Ft.Xml.Xslt.AttributeInfo.NumberAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'access': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'ident': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


class RemoveAliasElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
## ###################################### ## #Delete Interface ## ######################################

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'alias': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'access': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'allowed': <Ft.Xml.Xslt.AttributeInfo.YesNoAvt instance>, 'ident': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)
setup(self)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
Template is the set of text, instructions or result-elements
doesSetup = True
legalAttrs = {'base-path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'cdata-section-elements': <Ft.Xml.Xslt.AttributeInfo.QNamesAvt instance>, 'content-as-string': <Ft.Xml.Xslt.AttributeInfo.YesNo instance>, 'doctype-public': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'doctype-system': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'encoding': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'indent': <Ft.Xml.Xslt.AttributeInfo.YesNoAvt instance>, 'literal-content': <Ft.Xml.Xslt.AttributeInfo.YesNo instance>, 'media-type': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'method': <Ft.Xml.Xslt.AttributeInfo.QNameAvt instance>, ...}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'owner': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
Template is the set of text, instructions or result-elements
legalAttrs = {'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Fields

Fields

Functions

AsDom(context, path=None)
GetAbsolutePath(context, path=None)
GetAclByKey(context, aclKey, path=None)
GetAliases(context, path=None)
GetAllAcl(context, path=None)
GetContent(context, path=None, encoding='LATIN-1')
GetCreationDate(context, path=None)
GetLastModifiedDate(context, path=None)
GetMetaDataResource(context, path=None)
GetName(context, path=None)
GetOwner(context, path=None)
GetParent(context, path=None)
GetRawContent(context, path=None, encoding='iso-8859-1')
GetSize(context, path=None)
ResourceType(context, path=None)
VerifyAcl(context, aclKey, path=None, verifyTraverse=1)

Fields

ExtElements = {('http://xmlns.4suite.org/4ss/score', 'add-acl'): <class Ft.Server.Server.Xslt.ResourceMetaData.AddAclElement>, ('http://xmlns.4suite.org/4ss/score', 'add-alias'): <class Ft.Server.Server.Xslt.ResourceMetaData.AddAliasElement>, ('http://xmlns.4suite.org/4ss/score', 'delete-resource'): <class Ft.Server.Server.Xslt.ResourceMetaData.DeleteElement>, ('http://xmlns.4suite.org/4ss/score', 'inherit-acl'): <class Ft.Server.Server.Xslt.ResourceMetaData.InheritAclElement>, ('http://xmlns.4suite.org/4ss/score', 'mark-temporary'): <class Ft.Server.Server.Xslt.ResourceMetaData.MarkTemporaryElement>, ('http://xmlns.4suite.org/4ss/score', 'remove-acl'): <class Ft.Server.Server.Xslt.ResourceMetaData.RemoveAclElement>, ('http://xmlns.4suite.org/4ss/score', 'remove-alias'): <class Ft.Server.Server.Xslt.ResourceMetaData.RemoveAliasElement>, ('http://xmlns.4suite.org/4ss/score', 'set-acl'): <class Ft.Server.Server.Xslt.ResourceMetaData.SetAclElement>, ('http://xmlns.4suite.org/4ss/score', 'set-content'): <class Ft.Server.Server.Xslt.ResourceMetaData.SetContentElement>, ('http://xmlns.4suite.org/4ss/score', 'set-owner'): <class Ft.Server.Server.Xslt.ResourceMetaData.SetOwnerElement>, ...}
ExtFunctions = {('http://xmlns.4suite.org/4ss/score', 'as-dom'): <function AsDom>, ('http://xmlns.4suite.org/4ss/score', 'get-absolute-path'): <function GetAbsolutePath>, ('http://xmlns.4suite.org/4ss/score', 'get-acl-by-key'): <function GetAclByKey>, ('http://xmlns.4suite.org/4ss/score', 'get-aliases'): <function GetAliases>, ('http://xmlns.4suite.org/4ss/score', 'get-all-acl'): <function GetAllAcl>, ('http://xmlns.4suite.org/4ss/score', 'get-content'): <function GetContent>, ('http://xmlns.4suite.org/4ss/score', 'get-creation-date'): <function GetCreationDate>, ('http://xmlns.4suite.org/4ss/score', 'get-last-modified-date'): <function GetLastModifiedDate>, ('http://xmlns.4suite.org/4ss/score', 'get-metadata-resource'): <function GetMetaDataResource>, ('http://xmlns.4suite.org/4ss/score', 'get-name'): <function GetName>, ...}
RESERVED_NAMESPACE = 'http://xmlns.4suite.org/reserved'
SCORE_NS = 'http://xmlns.4suite.org/4ss/score'