1 from elementRepresentative import ElementRepresentative
2
3
4
5 -class ComplexContent(ElementRepresentative):
6 """
7 The class for the complexContent tag. Subclass of *ElementRepresentative*.
8 """
9 - def __init__(self, xsdElement, parent):
10 """
11 See *ElementRepresentative* for documentation.
12 """
13
14 ElementRepresentative.__init__(self, xsdElement, parent)
15
16
17
18
20 """
21 Makes a name like this- `ContainingTypeName`|complexContent.
22 The name on this class is used for almost nothing.
23 """
24 contName = self.getContainingTypeName()
25
26 name = contName + '|complexContent'
27
28 return name
29