Home | History | Annotate | Download | only in xmlGenerator

Lines Matching refs:Options

64         for options in self :
65 items.append(options.getOption(itemName))
113 class Options () :
114 """handle element options"""
115 def __init__(self, options=[], optionNames=[]) :
116 self.options = dict(izip(optionNames, options))
117 # print(options,optionNames,self.options)
122 for name, argument in self.options.items() :
129 return self.options.get(name, "")
133 self.options[name] = newOption
137 copy = Options()
138 copy.options = self.options.copy()
157 self.option = Options([], self.optionNames)
167 options = self.extractOptions(line)
169 return Options(options, self.optionNames)
176 options = line.split(self.optionDelimiter, len(self.optionNames) - 1)
179 optionsStrip = list(imap(str.strip, options))
256 options = super(ElementWithTag, self).extractOptions(lineWithoutTag)
257 return options
407 """ return a pfw rule (ex : "Any{criterion1 is state1}") generated from "self" and its children options"""
606 # add domain options to context
623 """Extract options from the definition line"""
624 options = super(Domain, self).extractOptions(line)
631 if options[sequenceAwareIndex] == self.sequenceAwareKeyword :
632 options[sequenceAwareIndex] = True
634 options[sequenceAwareIndex] = False
636 options = options + [None] * (sequenceAwareIndex - len(options)) + [False]
637 return options