4Suite API Documentation

Module Ft.Share.ExtensionModules.CribbageXsltExtensions

XSLT extension elements for the Cribbage demo
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Globals:

Classes

class CountHand(Ft.Xml.Xslt.cStylesheetTree.XsltElement)

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 'CountHand' objects>
__weakref__ = <attribute '__weakref__' of 'CountHand' objects>
content = <ContentModel object>
ctr = 29
legalAttrs = {'card1': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'card2': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'card3': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'card4': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'draw': <Ft.Xml.Xslt.AttributeInfo.Expression instance>}
p1ScoreMap = {1: (0, 0), 2: (0, 1), 3: (0, 2), 4: (0, 3), 5: (0, 4), 6: (0, 5), 7: (0, 6), 8: (0, 7), 9: (0, 8), 10: (0, 9), ...}
p2ScoreMap = {1: (1, 0), 2: (1, 1), 3: (1, 2), 4: (1, 3), 5: (1, 4), 6: (1, 5), 7: (1, 6), 8: (1, 7), 9: (1, 8), 10: (1, 9), ...}

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 DrawCribbageBoard(Ft.Xml.Xslt.cStylesheetTree.XsltElement)

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 'DrawCribbageBoard' objects>
__weakref__ = <attribute '__weakref__' of 'DrawCribbageBoard' objects>
content = <ContentModel object>
ctr = 29
legalAttrs = {'p1-scores': <Ft.Xml.Xslt.AttributeInfo.NodeSetExpression instance>, 'p2-scores': <Ft.Xml.Xslt.AttributeInfo.NodeSetExpression instance>}
p1ScoreMap = {1: (0, 0), 2: (0, 1), 3: (0, 2), 4: (0, 3), 5: (0, 4), 6: (0, 5), 7: (0, 6), 8: (0, 7), 9: (0, 8), 10: (0, 9), ...}
p2ScoreMap = {1: (1, 0), 2: (1, 1), 3: (1, 2), 4: (1, 3), 5: (1, 4), 6: (1, 5), 7: (1, 6), 8: (1, 7), 9: (1, 8), 10: (1, 9), ...}

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__

Globals

CARD_EXTENSION_NAMESPACE = u'http://xmlns.4suite.org/demos/cards'
ExtElements = {(u'http://xmlns.4suite.org/demos/cards', 'draw-cribbage-board'): <class 'Ft.Share.ExtensionModules.CribbageXsltExtensions.DrawCribbageBoard'>}
ExtNamespaces = {u'http://xmlns.4suite.org/demos/cards': 'cext'}