コード例 #1
0
    def create_inhaltsverzeichnis(self):
        inhaltsverzeichnis = arelda.inhaltsverzeichnisSIP()
        header = arelda.ordnerSIP(u'header', u'header')
        header.ordner.append(self.xsd)
        inhaltsverzeichnis.ordner.append(header)
        inhaltsverzeichnis.append(self.content_folder.binding())

        return inhaltsverzeichnis
コード例 #2
0
    def create_inhaltsverzeichnis(self):
        inhaltsverzeichnis = arelda.inhaltsverzeichnisSIP()
        header = arelda.ordnerSIP(u'header', u'header')
        header.ordner.append(self.xsd)
        inhaltsverzeichnis.ordner.append(header)
        inhaltsverzeichnis.append(self.content_folder.binding())

        return inhaltsverzeichnis
コード例 #3
0
ファイル: folder.py プロジェクト: 4teamwork/opengever.core
    def binding(self):
        ordner = arelda.ordnerSIP(self.name)

        for folder in self.folders:
            ordner.ordner.append(folder.binding())

        for file_ in self.files:
            ordner.datei.append(file_.binding())

        return ordner
コード例 #4
0
ファイル: folder.py プロジェクト: lukasgraf/opengever.core
    def binding(self):
        ordner = arelda.ordnerSIP(self.name)

        for folder in self.folders:
            ordner.ordner.append(folder.binding())

        for file_ in self.files:
            ordner.datei.append(file_.binding())

        return ordner
コード例 #5
0
 def create_xsd(self):
     return arelda.ordnerSIP(u'xsd', u'xsd')
コード例 #6
0
 def create_xsd(self):
     return arelda.ordnerSIP(u'xsd', u'xsd')