Ft.Server.Server.Xslt.Model

Modules

AttributeInfo  DataTypes  Model  XPath 
ContentInfo  FtTime  Util  cStringIO 
Conversions  FtssXsltBase  Versa  types 

Classes

class DeserializeAndAddElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
childArgument = ('src', 1, None, 'The RDF/XML source from which the statements are parsed')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
legalAttrs = {'base-path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}
class DeserializeAndRemoveElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
childArgument = ('src', 1, None, 'The RDF/XML source from which the statements are parsed')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
legalAttrs = {'base-path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
getStatementInfo(self, context)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
childArgument = None
content = <Ft.Xml.Xslt.ContentInfo._Special instance>
legalAttrs = {'o': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'p': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 's': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'scope': <Ft.Xml.Xslt.AttributeInfo.StringExpression instance>, 'stmt-uri': <Ft.Xml.Xslt.AttributeInfo.StringExpression instance>, 'type': <Ft.Xml.Xslt.AttributeInfo.Expression instance>}
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class RdfPatternBaseElement(Ft.Server.Server.Xslt.Model.RdfBaseElement)
getRdfPatternCriteria(self, context)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
legalAttrs = {'o': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'o-flags': <Ft.Xml.Xslt.AttributeInfo.ChoiceAvt instance>, 'p': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 'p-flags': <Ft.Xml.Xslt.AttributeInfo.ChoiceAvt instance>, 's': <Ft.Xml.Xslt.AttributeInfo.Expression instance>, 's-flags': <Ft.Xml.Xslt.AttributeInfo.ChoiceAvt instance>, 'scope': <Ft.Xml.Xslt.AttributeInfo.StringExpression instance>, 'scope-flags': <Ft.Xml.Xslt.AttributeInfo.ChoiceAvt instance>, 'stmt-uri': <Ft.Xml.Xslt.AttributeInfo.StringExpression instance>, 'stmt-uri-flags': <Ft.Xml.Xslt.AttributeInfo.ChoiceAvt instance>, ...}
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class RdfVersaAssignElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
_writeResults(self, processor, results)
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
childArgument = ('src', 1, None, 'A namespace mapping node which contains extra na.../NsMappings.xml for an example of The xml format.')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
content = <Ft.Xml.Xslt.ContentInfo._Special instance>
legalAttrs = {'name': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'query': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'scope': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}
class RdfVersaQueryElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
_writeResults(self, processor, results)
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
childArgument = ('src', 1, None, 'A namespace mapping node which contains extra na.../NsMappings.xml for an example of The xml format.')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
content = <Ft.Xml.Xslt.ContentInfo._Special instance>
legalAttrs = {'query': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'scope': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}
class RdfVisualizeElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)
instantiate(self, context, processor)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
childArgument = ('src', 1, None, 'The result of a Versa query')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
content = <Ft.Xml.Xslt.ContentInfo._Special instance>
legalAttrs = {'graph-vis': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'map-name': <Ft.Xml.Xslt.AttributeInfo.IdAvt instance>, 'max-arcs': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'namespaces': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'output-path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'resourcePath': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'rotate': <Ft.Xml.Xslt.AttributeInfo.YesNoAvt instance>, 'scoped': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'svg': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'uri-format': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}
class ResourceType

Data and other non-method functions defined here:

ALIAS = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
COMMAND = 14
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONTAINER = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_DEFINITION = 13
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
GROUP = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
META_DATA = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RAW_FILE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RDF_DOCUMENT = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SCHEMATRON_DOCUMENT = 6
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SERVER = 15
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
URI_REFERENCE_FILE = 17
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER = 7
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XML_DOCUMENT = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XPATH_DOCUMENT_DEFINITION = 9
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XSLT_DOCUMENT = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XSLT_DOCUMENT_DEFINITION = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Server.Common.ResourceTypes'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Statement(Ft.Rdf.Resource.Resource)
__cmp__(self, other)
__init__(self, subject, predicate, object, statementUri='', scope='', objectType='?')
__repr__(self)
reify(self, model, uri=None)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Rdf.Statement'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, root, namespaceUri, localName, baseUri)
__str__(self)
appendChild(self, child)
expandQName(self, qname, refNode=None)
insertChild(self, index, child)
instantiate(self, context, processor)
parseAVT(self, avt)
parseExpression(self, expression)
parsePattern(self, pattern)
processChildren(self, context, processor)
splitQName(self, qname)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Xslt.StylesheetTree'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
category = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
legalAttrs = None
validator = <Ft.Xml.Xslt.ContentInfo.Validator instance>

Functions

ParseNsMappings(nsMappings, nsDict={}, mappingUri=None)
RdfAny(context)
RdfComplete(context, subj, pred, obj=None)
RdfContains(context, subj, pred, obj=None)
RdfVersaQueryFunction(context, query, scope=None)
WriteVersaResults(processor, results)
_serializeStatements(stmts, writer)
strip(s, chars=None)

Data

CONTAINERS = [1]
DOCUMENT_DEFINITIONS = [9, 11]
DUMMY_MODEL = <RDF Resource at 277470320: [URI: ]>
ExtElements = {('http://xmlns.4suite.org/4ss/rdf', 'add'): <class Ft.Server.Server.Xslt.Model.RdfAddElement>, ('http://xmlns.4suite.org/4ss/rdf', 'complete'): <class Ft.Server.Server.Xslt.Model.RdfCompleteElement>, ('http://xmlns.4suite.org/4ss/rdf', 'deserialize-and-add'): <class Ft.Server.Server.Xslt.Model.DeserializeAndAddElement>, ('http://xmlns.4suite.org/4ss/rdf', 'deserialize-and-remove'): <class Ft.Server.Server.Xslt.Model.DeserializeAndRemoveElement>, ('http://xmlns.4suite.org/4ss/rdf', 'remove'): <class Ft.Server.Server.Xslt.Model.RdfRemoveElement>, ('http://xmlns.4suite.org/4ss/rdf', 'versa-assign'): <class Ft.Server.Server.Xslt.Model.RdfVersaAssignElement>, ('http://xmlns.4suite.org/4ss/rdf', 'versa-query'): <class Ft.Server.Server.Xslt.Model.RdfVersaQueryElement>, ('http://xmlns.4suite.org/4ss/rdf', 'visualize'): <class Ft.Server.Server.Xslt.Model.RdfVisualizeElement>}
ExtFunctions = {('http://xmlns.4suite.org/4ss/rdf', 'any'): <function RdfAny>, ('http://xmlns.4suite.org/4ss/rdf', 'complete'): <function RdfComplete>, ('http://xmlns.4suite.org/4ss/rdf', 'contains'): <function RdfContains>, ('http://xmlns.4suite.org/4ss/rdf', 'versa-query'): <function RdfVersaQueryFunction>}
OBJECT_TYPE_LITERAL = 'L'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_RESOURCE = 'R'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_UNKNOWN = '?'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJ_TYPE_LOOKUP = {'LITERAL': 'L', 'RESOURCE': 'R'}
RAW_FILES = [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 17]
RDF_NS = 'http://xmlns.4suite.org/4ss/rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RESERVED_NAMESPACE = 'http://xmlns.4suite.org/reserved'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RESOURCE_CACHE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE_CONTENT = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE_METADATA = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SESSION_DATA = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
STRING_TYPES = [<type 'str'>, <type 'unicode'>]
VB_PARAM = ('http://xmlns.4suite.org/reserved', 'versa-variable-bindings')
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
XML_DOCUMENTS = [1, 2, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15]
__file__ = 'build/lib.linux-ppc-2.2/Ft/Server/Server/Xslt/Model.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Server.Server.Xslt.Model'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_resourceTypeMap = {0: 'Unknown Resource', 1: 'Container', 2: 'Alias', 3: 'Raw File', 4: 'XML Document', 5: 'XSLT Document', 6: 'Schematron Document', 7: 'User', 8: 'Group', 9: 'XPath Document Definition', ...}