def _to_xsd_type(self, type_prefix):
        """Build an XML tree representing the XSD type definition for 
        this adaptee (e.g. an xs:complexType or an xs:simpleType).
        
        This method returns a tuple of (<typ>, <tdefs>), where:
            - <tdefs>: is a mapping of type definitions, to be placed to the 
              global scope (global types).
            - <typ>: is one o the following 
                * an XSD local type definition (e.g. an xs:complexType or
                  an xs:simpleType element), as an non-empty etree element.
                * a type-name for a type, as a string.

        """
        raise_for_stub_method()
Example #2
0
    def _to_xsd_type(self, type_prefix):
        '''Build an XML tree representing the XSD type definition for 
        this adaptee (e.g. an xs:complexType or an xs:simpleType).
        
        This method returns a tuple of (<typ>, <tdefs>), where:
            - <tdefs>: is a mapping of type definitions, to be placed to the 
              global scope (global types).
            - <typ>: is one o the following 
                * an XSD local type definition (e.g. an xs:complexType or
                  an xs:simpleType element), as an non-empty etree element.
                * a type-name for a type, as a string.

        '''
        raise_for_stub_method()
 def render(self, data):
     raise_for_stub_method()
 def get_template(self):
     raise_for_stub_method()
 def _from_xml(self, e):
     """Build and return an object from XML subtree under element e. 
     """
     raise_for_stub_method()
 def _to_xml(self, o, e):
     """Build the XML subtree under element e to serialize object o.
     """
     raise_for_stub_method()
Example #7
0
 def _from_xml(self, e):
     '''Build and return an object from XML subtree under element e. 
     '''
     raise_for_stub_method()
Example #8
0
 def _to_xml(self, o, e):
     '''Build the XML subtree under element e to serialize object o.
     '''
     raise_for_stub_method()
Example #9
0
 def render(self, data):
     raise_for_stub_method()
 def _from(self, s):
     raise_for_stub_method()
Example #11
0
 def get_template(self):
     raise_for_stub_method()
 def _to(self, o):
     raise_for_stub_method()
Example #13
0
 def _format(self, value, opts):
     raise_for_stub_method()
 def _format(self, value, opts):
     raise_for_stub_method()
 def _from(self, s):
     raise_for_stub_method()
 def _to(self, o):
     raise_for_stub_method()