Home | History | Annotate | Download | only in python2.7

Lines Matching defs:xml

2 # XML-RPC CLIENT LIBRARY
5 # an XML-RPC client interface for Python.
8 # implement XML-RPC servers.
60 # The XML-RPC client interface is
94 An XML-RPC client interface for Python.
97 implement XML-RPC servers.
104 Fault Indicates an XML-RPC fault package
108 ServerProxy Represents a logical connection to an XML-RPC server
111 Boolean boolean wrapper to generate a "boolean" XML-RPC value
114 XML-RPC value
118 Marshaller Generate an XML-RPC params chunk from a Python data structure
119 Unmarshaller Unmarshal an XML-RPC response from incoming XML event message
120 Transport Handles an HTTP transaction to an XML-RPC server
121 SafeTransport Handles an HTTPS transaction to an XML-RPC server
130 boolean Convert any Python value to an XML-RPC boolean
133 dumps Convert an argument tuple or a Fault instance to an XML-RPC
135 loads Convert an XML-RPC packet to unmarshalled data plus a method
252 # Indicates a broken XML-RPC response package. This exception is
253 # raised by the unmarshalling layer, if the XML-RPC response is
261 # Indicates an XML-RPC fault response package. This exception is
262 # raised by the unmarshalling layer, if the XML-RPC response contains
264 # generate a fault XML-RPC message.
266 # @param faultCode The XML-RPC fault code.
267 # @param faultString The XML-RPC fault string.
270 """Indicates an XML-RPC fault package."""
285 # Wrapper for XML-RPC boolean values. Use the xmlrpclib.True and
287 # generate boolean XML-RPC values.
303 Use True or False to generate a "boolean" XML-RPC value.
333 # Map true or false value to XML-RPC boolean values.
344 """Convert any Python value to XML-RPC 'boolean'."""
350 # Wrapper for XML-RPC DateTime values. This converts a time value to
351 # the format used by XML-RPC.
378 localtime integer value to generate 'dateTime.iso8601' XML-RPC
461 # decode xml element contents into a DateTime structure.
472 # of binary data over XML-RPC, using BASE64 encoding.
510 # decode xml element contents into a Binary structure
520 # XML parsers
537 from xml.parsers import expat
554 target.xml(encoding, None)
564 """Default XML parser (based on xmllib.XMLParser)."""
570 self.handle_xml = target.xml
581 # XML-RPC marshalling and unmarshalling code
584 # XML-RPC marshaller.
591 """Generate an XML-RPC params chunk from a Python data structure.
595 to an XML-RPC params chunk. To write a fault response, pass a
624 # FIXME: the xml-rpc specification allows us to leave out
665 raise OverflowError, "int exceeds XML-RPC limits"
680 raise OverflowError, "long int exceeds XML-RPC limits"
760 # XML-RPC unmarshaller.
765 """Unmarshal an XML-RPC response, based on incoming XML event
770 XML-RPC data without complaining (but not bogus XML).
802 def xml(self, encoding, standalone):
1004 # This function picks the fastest available XML parser.
1034 # Convert a Python tuple or a Fault instance to an XML-RPC packet.
1050 Convert an argument tuple or a Fault instance to an XML-RPC
1088 xmlheader = "<?xml version='1.0' encoding='%s'?>\n" % str(encoding)
1090 xmlheader = "<?xml version='1.0'?>\n" # utf-8 is default
1092 # standard XML-RPC wrappings
1117 # Convert an XML-RPC packet to a Python object. If the XML-RPC packet
1120 # @param data An XML-RPC packet, given as an 8-bit string.
1128 Convert an XML-RPC packet to unmarshalled data plus a method
1131 If the XML-RPC packet represents a fault condition, this function
1216 # some magic to bind an XML-RPC method to an RPC server.
1227 # Standard transport class for XML-RPC over HTTP.
1233 """Handles an HTTP transaction to an XML-RPC server."""
1256 # @param request_body XML-RPC request body.
1277 # @param request_body XML-RPC request body.
1282 # issue XML-RPC request
1387 # @param request_body XML-RPC body.
1426 # @param request_body XML-RPC request body.
1429 connection.putheader("Content-Type", "text/xml")
1476 # Standard transport class for XML-RPC over HTTPS.
1479 """Handles an HTTPS transaction to an XML-RPC server."""
1501 # to an XML-RPC server.
1517 """uri [,options] -> a logical connection to an XML-RPC server
1549 raise IOError, "unsupported XML-RPC protocol"
1620 # simple test program (from the XML-RPC specification)