Represents an (xsd) node
| 682 | |
| 683 | |
| 684 | class Any(Content): |
| 685 | """ |
| 686 | Represents an (xsd) <any/> node |
| 687 | """ |
| 688 | |
| 689 | def get_child(self, name): |
| 690 | root = self.root.clone() |
| 691 | root.set('note', 'synthesized (any) child') |
| 692 | child = Any(self.schema, root) |
| 693 | return (child, []) |
| 694 | |
| 695 | def get_attribute(self, name): |
| 696 | root = self.root.clone() |
| 697 | root.set('note', 'synthesized (any) attribute') |
| 698 | attribute = Any(self.schema, root) |
| 699 | return (attribute, []) |
| 700 | |
| 701 | def any(self): |
| 702 | return True |
| 703 | |
| 704 | |
| 705 | class Factory: |
no outgoing calls
no test coverage detected