4Suite API Documentation

Module Ft.Xml.Xslt.StylesheetTree

Node classes for the stylesheet tree
Copyright 2006 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:

Classes

class XsltElement(Ft.Xml.Xslt.cStylesheetTree.XsltNode)
The Element interface represents an XML element in the Stylesheet Tree.

Methods

__getstate__(...)
helper for pickle
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__iter__(...)
x.__iter__() <==> iter(x)
__new__(...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
Overrides: __new__ from class XsltNode
__repr__(...)
x.__repr__() <==> repr(x)
__setstate__(...)
helper for pickle
appendChild(...)
appendChild(newChild)
Adds the node `newChild` to the end of the list of children of this node.
insertChild(...)
insertChild(index, child)
Inserts the child at the given position in the children list.
instantiate(...)
instantiate(context, processor)
Implements default behavior for extension elements.
processChildren(...)
processChildren(context, processor)
Utility method to instantiate each child in order.
removeChild(...)
removeChild(oldChild)
Removes the node indicated by `oldChild` from the list of children.
replaceChild(...)
replaceChild(oldChild, newChild)
Replaces the node `oldChild` with `newChild` in the list of children.
setAttribute(...)
setAttribute(namespaceURI, localName, value)
Sets the attribute in the attributes mapping.

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

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

attributes = <member 'attributes' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
baseUri = <member 'baseUri' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
children = <attribute 'children' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
columnNumber = <member 'columnNumber' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
content = <ContentModel object>
expandedName = <member 'expandedName' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
importIndex = <member 'importIndex' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
legalAttrs = None
lineNumber = <member 'lineNumber' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
namespaces = <member 'namespaces' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
nodeName = <member 'nodeName' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>
prefix = <attribute 'prefix' of 'Ft.Xml.Xslt.cStylesheetTree.XsltElement' objects>

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

Members inherited from class object

__class__
class XsltNode(object)
The Node type is the primary datatype for the entire Stylesheet Model.

Methods

__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__new__(...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
Overrides: __new__ from class object
__reduce__(...)
helper for pickle protocols 0 and 1
__repr__(...)
x.__repr__() <==> repr(x)
idle(...)
idle(processor)
Subclasses can override this method to perform any teardown after a
transform has been completed.
instantiate(...)
instantiate(context, processor)
Subclasses can override this method to do the actual transformation
processing.
isLastChild(...)
isLastChild() -> boolean
Returns whether this node is the last child of its parent.
pprint(...)
pprint()
Prints an indented instance representation of the stylesheet tree.
prime(...)
prime(processor, context)
Subclasses can override this method to perform any specific initialization
that requires a context node.
setup(...)
setup()
Subclasses can override this method to perform any specific initialization
that does not require a context node.

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

attributes = None
baseUri = <attribute 'baseUri' of 'Ft.Xml.Xslt.cStylesheetTree.XsltNode' objects>
children = None
columnNumber = '?'
doesIdle = False
doesPrime = False
doesSetup = False
expandedName = (None, None)
importIndex = -1
isPseudoNode = False
lineNumber = '?'
namespaces = None
nodeName = None
parent = <member 'parent' of 'Ft.Xml.Xslt.cStylesheetTree.XsltNode' objects>
root = <member 'root' of 'Ft.Xml.Xslt.cStylesheetTree.XsltNode' objects>

Members inherited from class object

__class__
class XsltRoot(Ft.Xml.Xslt.cStylesheetTree.XsltNode)
This interface represents the root node of the Stylesheet Tree.

Methods

__getstate__(...)
helper for pickle
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__new__(...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
Overrides: __new__ from class XsltNode
__repr__(...)
x.__repr__() <==> repr(x)
__setstate__(...)
helper for pickle
appendChild(...)
appendChild(child)
Appends the child to the end of the children list.

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

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

baseUri = <member 'baseUri' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>
children = <attribute 'children' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>
content = <ContentModel object>
idleInstructions = <member 'idleInstructions' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>
nodeName = u'#document'
primeInstructions = <member 'primeInstructions' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>
sourceNodes = <member 'sourceNodes' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>
sources = <member 'sources' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>
stylesheet = <member 'stylesheet' of 'Ft.Xml.Xslt.cStylesheetTree.XsltRoot' objects>

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

Members inherited from class object

__class__
class XsltText(Ft.Xml.Xslt.cStylesheetTree.XsltNode)
This interface represents the content of a text node.

Methods

__getstate__(...)
helper for pickle
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__new__(...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
Overrides: __new__ from class XsltNode
__repr__(...)
x.__repr__() <==> repr(x)
__setstate__(...)
helper for pickle
instantiate(...)

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

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

data = <member 'data' of 'Ft.Xml.Xslt.cStylesheetTree.XsltText' objects>
nodeName = u'#text'

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

Members inherited from class object

__class__