Exemple #1
0
	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
Exemple #2
0
	def __init__(self, tag, attribs, isEmptyTag = False):
		CaduceusTemplateEntity.__init__(self)
		self._tag = tag
		self._attribs = attribs
		self._isEmptyTag = isEmptyTag
	def __init__(self, text):
		CaduceusTemplateEntity.__init__(self)
		self._text = text
Exemple #4
0
	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