4Suite API Documentation

Module Ft.Server.Server.Xslt.DocumentDefinition

XSLT extension elements and functions supporting the 4SS DocumentDefinition API
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class AddBaseDocumentDefinitionElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Add a new document definition to a document definition's base defs.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'AddBaseDocumentDefinitionElement' objects>
__weakref__ = <attribute '__weakref__' of 'AddBaseDocumentDefinitionElement' objects>
content = <ContentModel object>
legalAttrs = {'docdef': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__
class RemoveBaseDocumentDefinitionElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Remove a document definition from a document definition's base defs.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'RemoveBaseDocumentDefinitionElement' objects>
__weakref__ = <attribute '__weakref__' of 'RemoveBaseDocumentDefinitionElement' objects>
content = <ContentModel object>
legalAttrs = {'docdef': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__
class SetCreationParamsElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Change the creation params of a document definition.
The content of the fcore:set-creation-params element is a template for
the new creation params in serialized format.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement
setup(self)
Overrides: setup from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'SetCreationParamsElement' objects>
__weakref__ = <attribute '__weakref__' of 'SetCreationParamsElement' objects>
content = <ContentModel object>
doesSetup = True
legalAttrs = {'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

doesIdle, doesPrime, isPseudoNode, parent, root

Members inherited from class object

__class__

Functions

GetBaseDefinitions(context, path=None)
GetCreationParams(context, path=None)
GetDerivedDefinitions(context, path=None)

Globals

ExtElements = {('http://xmlns.4suite.org/4ss/score', 'add-base-document-definition'): <class 'Ft.Server.Server.Xslt.DocumentDefinition.AddBaseDocumentDefinitionElement'>, ('http://xmlns.4suite.org/4ss/score', 'remove-base-document-definition'): <class 'Ft.Server.Server.Xslt.DocumentDefinition.RemoveBaseDocumentDefinitionElement'>, ('http://xmlns.4suite.org/4ss/score', 'set-creation-params'): <class 'Ft.Server.Server.Xslt.DocumentDefinition.SetCreationParamsElement'>}
ExtFunctions = {('http://xmlns.4suite.org/4ss/score', 'get-base-definitions'): <function GetBaseDefinitions>, ('http://xmlns.4suite.org/4ss/score', 'get-creation-params'): <function GetCreationParams>, ('http://xmlns.4suite.org/4ss/score', 'get-derived-definitions'): <function GetDerivedDefinitions>}
SCORE_NS = 'http://xmlns.4suite.org/4ss/score'