示例#1
0
 def __init__(self, node, **kwargs):
     Object.__init__(self)
     self.node = node
     self.data = None
     self.text = None
     for k,v in kwargs.items():
         setattr(self, k, v)
示例#2
0
 def __init__(self, node, **kwargs):
     Object.__init__(self)
     self.node = node
     self.data = None
     self.text = None
     for k, v in kwargs.items():
         setattr(self, k, v)
示例#3
0
 def __init__(self):
     """ """
     Object.__init__(self)
     self.mustUnderstand = True
     self.tokens = []
     self.signatures = []
     self.references = []
     self.keys = []
示例#4
0
 def __init__(self):
     """ """
     Object.__init__(self)
     self.mustUnderstand = True
     self.tokens = []
     self.signatures = []
     self.references = []
     self.keys = []
示例#5
0
 def __init__(self, tag=None, value=None, **kwargs):
     """
     @param tag: The content tag.
     @type tag: str
     @param value: The content's value.
     @type value: I{any}
     """
     Object.__init__(self)
     self.tag = tag
     self.value = value
     for k,v in kwargs.items():
         setattr(self, k, v)
示例#6
0
 def __init__(self, tag=None, value=None, **kwargs):
     """
     @param tag: The content tag.
     @type tag: str
     @param value: The content's value.
     @type value: I{any}
     """
     Object.__init__(self)
     self.tag = tag
     self.value = value
     for k, v in kwargs.items():
         setattr(self, k, v)
示例#7
0
 def __init__(self, root, definitions=None):
     """
     @param root: An XML root element.
     @type root: L{Element}
     @param definitions: A definitions object.
     @type definitions: L{Definitions}
     """
     Object.__init__(self)
     self.root = root
     pmd = Metadata()
     pmd.excludes = ['root']
     pmd.wrappers = dict(qname=repr)
     self.__metadata__.__print__ = pmd
示例#8
0
 def __init__(self, root, definitions=None):
     """
     @param root: An XML root element.
     @type root: L{Element}
     @param definitions: A definitions object.
     @type definitions: L{Definitions}
     """
     Object.__init__(self)
     self.root = root
     pmd = Metadata()
     pmd.excludes = ['root']
     pmd.wrappers = dict(qname=repr)
     self.__metadata__.__print__ = pmd
示例#9
0
 def __init__(self):
     Object.__init__(self)
示例#10
0
 def __init__(self):
         Object.__init__(self)