4Suite API Documentation

Module Ft.Server.Common.Install.Serialize

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Common/Install/Serialize.py,v 1.36 2005/03/19 09:28:44 mbrown Exp $
Functions:
Fields:

Functions

CopyDir(path, src, fileMap={}, resources=[])
CopyDirGen(path, src, fileMap={}, resources=[])
Deserialize(stream, refUri='')
LoadAcl(node)
MirrorDir(path, src, fileMap, srcIsUri=True)
MirrorDirGen(path, src, fileMap, srcIsUri=True)
Serialize(product, refUri='')
ValidateAttribute(node, ns, ln)

Fields

DC = 'http://purl.org/dc/elements/1.1/'
IMT_MAP = {'%': 'application/x-trash', '323': 'text/h323', 'ai': 'application/postscript', 'aif': 'audio/x-aiff', 'aifc': 'audio/x-aiff', 'aiff': 'audio/x-aiff', 'art': 'image/x-jg', 'asc': 'text/plain', 'asf': 'video/x-ms-asf', 'asx': 'video/x-ms-asf', ...}
PRODUCT_NAMESPACE = 'http://xmlns.4suite.org/reserved#product'
ext = 'phps'
g_defaultFileMap = {'%': (None, 'application/x-trash', <class Ft.Server.Common.Install.InstallUtil.RawFile>), '.daml': (None, None, <class Ft.Server.Common.Install.InstallUtil.RdfDocument>), '.owl': (None, None, <class Ft.Server.Common.Install.InstallUtil.RdfDocument>), '.rdf': (None, None, <class Ft.Server.Common.Install.InstallUtil.RdfDocument>), '.rdfs': (None, None, <class Ft.Server.Common.Install.InstallUtil.RdfDocument>), '323': (None, 'text/h323', <class Ft.Server.Common.Install.InstallUtil.RawFile>), 'ai': (None, 'application/postscript', <class Ft.Server.Common.Install.InstallUtil.RawFile>), 'aif': (None, 'audio/x-aiff', <class Ft.Server.Common.Install.InstallUtil.RawFile>), 'aifc': (None, 'audio/x-aiff', <class Ft.Server.Common.Install.InstallUtil.RawFile>), 'aiff': (None, 'audio/x-aiff', <class Ft.Server.Common.Install.InstallUtil.RawFile>), ...}
g_typeMap = {'Command': <class Ft.Server.Common.Install.InstallUtil.Command>, 'RdfDocument': <class Ft.Server.Common.Install.InstallUtil.RdfDocument>, 'SchematronDocument': <class Ft.Server.Common.Install.InstallUtil.SchematronDocument>, 'Server': <class Ft.Server.Common.Install.InstallUtil.Server>, 'XPathDocumentDefinition': <class Ft.Server.Common.Install.InstallUtil.XPathDocumentDefinition>, 'XmlDocument': <class Ft.Server.Common.Install.InstallUtil.XmlDocument>, 'XsltDocument': <class Ft.Server.Common.Install.InstallUtil.XsltDocument>, 'XsltDocumentDefinition': <class Ft.Server.Common.Install.InstallUtil.XsltDocumentDefinition>}
g_xmldocMapping = {4: 'XmlDocument', 5: 'XsltDocument', 6: 'SchematronDocument', 9: 'XPathDocumentDefinition', 11: 'XsltDocumentDefinition', 12: 'RdfDocument', 14: 'Command', 15: 'Server'}
generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)
imt = 'application/x-httpd-php-source'