Ejemplo n.º 1
0
    def __init__(self, endpoint, name, uuid, version):

        ContentHandler.__init__(self)

        self.repository = endpoint.itsView
        self.name = name
        self.uuid = uuid
        self.version = version
        self.values = None

        self.data = ''
        self._attrs = []
Ejemplo n.º 2
0
    def __init__(self, path, parent, view):

        ContentHandler.__init__(self)

        self.path = path
        self.cwd = [os.path.dirname(path)]
        self.parent = [parent]
        self.view = view
        self.hooks = []

        packs = view.getRoot('Packs')
        if packs is None:
            packs = Item('Packs', view, None)
        self.packs = packs
Ejemplo n.º 3
0
    def __init__(self, path, parent, view):

        ContentHandler.__init__(self)

        self.path = path
        self.cwd = [os.path.dirname(path)]
        self.parent = [parent]
        self.view = view
        self.hooks = []

        packs = view.getRoot('Packs')
        if packs is None:
            packs = Item('Packs', view, None)
        self.packs = packs
Ejemplo n.º 4
0
    def __init__(self, repository):

        ContentHandler.__init__(self)
        TypeHandler.__init__(self)
        
        self.repository = repository
Ejemplo n.º 5
0
    def __init__(self, repository):

        ContentHandler.__init__(self)
        TypeHandler.__init__(self)

        self.repository = repository