def __init__(self, path=None, rootPath=None, caduceusPath=None): CaduceusTemplateEntity.__init__(self) self._path = path self._rootPath = rootPath self._caduceusPath = caduceusPath self._refHeadTag = None self._refHtmlTag = None
def __init__(self, data, path, rootPath): CaduceusTemplateEntity.__init__(self) # Strip ? and white spaces at end of string self._data = data.rstrip(" ?\n") self._path = path self._rootPath = rootPath
def __init__(self, text): CaduceusTemplateEntity.__init__(self) self._text = text