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()
示例#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()
示例#3
0
 def render(self, data):
     raise_for_stub_method()
示例#4
0
 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()
示例#7
0
 def _from_xml(self, e):
     '''Build and return an object from XML subtree under element e. 
     '''
     raise_for_stub_method()
示例#8
0
 def _to_xml(self, o, e):
     '''Build the XML subtree under element e to serialize object o.
     '''
     raise_for_stub_method()
示例#9
0
 def render(self, data):
     raise_for_stub_method()
 def _from(self, s):
     raise_for_stub_method()
示例#11
0
 def get_template(self):
     raise_for_stub_method()
 def _to(self, o):
     raise_for_stub_method()
示例#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()