Ft.Server.Common.DocumentDefinitionSerialization

Modules

CreationParams  Rdf  XPath   
Domlette  Util  cStringIO   

Functions

Deserialize(dd_dom)
GetAllNs(...)
GetAllNs(node) -> dict

Get all of the namespaces defined in scope of this node.
Print(root, stream=<open file '<stdout>', mode 'w' at 0x100fe970>, encoding='UTF-8', asHtml=None)
Serialize(bns, nss, maps, cp)
_DeserializeBaseNames(con)
_DeserializeNsMaps(con)
_DeserializeRdfMaps(con)
_SerializeBaseNames(doc, bns)
_SerializeNsMap(doc, nss)
_SerializeRdfMaps(doc, maps)

Data

EMPTY_NAMESPACE = None
EMPTY_PREFIX = None
FTSERVER_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.
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.
RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
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.
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'
unicode(string [, encoding[, errors]]) -> object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding and
errors, defining the error handling, to 'strict'.
XMLNS_NAMESPACE = u'http://www.w3.org/2000/xmlns/'
unicode(string [, encoding[, errors]]) -> object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding and
errors, defining the error handling, to 'strict'.
XML_NAMESPACE = u'http://www.w3.org/XML/1998/namespace'
unicode(string [, encoding[, errors]]) -> object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding and
errors, defining the error handling, to 'strict'.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Server/Common/DocumentDefinitionSerialization.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.Common.DocumentDefinitionSerialization'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
_nsMapExpression = child::ftss:DocDef/child::ftss:NsMappings/child::ftss:NsMapping
_nsMapPrefixExpression = string(child::ftss:Prefix)
_nsMapUriExpression = string(child::ftss:Uri)
_rdfMapExpression = child::ftss:DocDef/child::ftss:RdfMappings/child::ftss:RdfMapping
_rdfMapObjectExpression = string(child::ftss:Object)
_rdfMapObjectTypeExpression = string(child::ftss:Object/attribute::type)
_rdfMapPredicateExpression = string(child::ftss:Predicate)
_rdfMapSubjectExpression = string(child::ftss:Subject)