예제 #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 = []
예제 #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
예제 #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
예제 #4
0
    def __init__(self, repository):

        ContentHandler.__init__(self)
        TypeHandler.__init__(self)
        
        self.repository = repository
예제 #5
0
    def __init__(self, repository):

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

        self.repository = repository