コード例 #1
0
ファイル: template.py プロジェクト: aprudent/caduceus
 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
コード例 #2
0
ファイル: templatePython.py プロジェクト: aprudent/caduceus
 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
コード例 #3
0
ファイル: templateHtmlText.py プロジェクト: aprudent/caduceus
	def __init__(self, text):
		CaduceusTemplateEntity.__init__(self)
		self._text = text