Package pyGlobus :: Module GSISOAP :: Class SOAPParser
[show private | hide private]
[frames | no frames]

Class SOAPParser

ContentHandler --+
                 |
                SOAPParser


Method Summary
  __init__(self, rules)
  characters(self, c)
  convertDateTime(self, value, kind)
  convertType(self, d, t, attrs)
  endDocument(self)
Receive notification of the end of a document.
  endElementNS(self, name, qname)
Signals the end of an element in namespace mode.
  endPrefixMapping(self, prefix)
End the scope of a prefix-URI mapping.
  popFrame(self)
  pushFrame(self, frame)
  startArray(self, name, kind, attrs, elemsname)
  startElementNS(self, name, qname, attrs)
Signals the start of an element in namespace mode.
  startPrefixMapping(self, prefix, uri)
Begin the scope of a prefix-URI Namespace mapping.
    Inherited from ContentHandler
  endElement(self, name)
Signals the end of an element in non-namespace mode.
  ignorableWhitespace(self, whitespace)
Receive notification of ignorable whitespace in element content.
  processingInstruction(self, target, data)
Receive notification of a processing instruction.
  setDocumentLocator(self, locator)
Called by the parser to give the application a locator for locating the origin of document events.
  skippedEntity(self, name)
Receive notification of a skipped entity.
  startDocument(self)
Receive notification of the beginning of a document.
  startElement(self, name, attrs)
Signals the start of an element in non-namespace mode.

Class Variable Summary
str arrayre = '^(?:(?P<ns>[^:]*):)?(?P<type>[^[]+)(?:\\[(?P<...
classobj DATETIMECONSTS = pyGlobus.GSISOAP.DATETIMECONSTS
dict floatlimits = {'double': (0.0, -1.7976931348623157e+308,...
classobj Frame = pyGlobus.GSISOAP.Frame
dict intlimits = {'negative-integer': (0, None, -1), 'unsigne...
str zerofloatre = '[1-9]'

Method Details

endDocument(self)

Receive notification of the end of a document.

The SAX parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input.
Overrides:
_xmlplus.sax.handler.ContentHandler.endDocument (inherited documentation)

endElementNS(self, name, qname)

Signals the end of an element in namespace mode.

The name parameter contains the name of the element type, just as with the startElementNS event.
Overrides:
_xmlplus.sax.handler.ContentHandler.endElementNS (inherited documentation)

endPrefixMapping(self, prefix)

End the scope of a prefix-URI mapping.

See startPrefixMapping for details. This event will always occur after the corresponding endElement event, but the order of endPrefixMapping events is not otherwise guaranteed.
Overrides:
_xmlplus.sax.handler.ContentHandler.endPrefixMapping (inherited documentation)

startElementNS(self, name, qname, attrs)

Signals the start of an element in namespace mode.

The name parameter contains the name of the element type as a (uri, localname) tuple, the qname parameter the raw XML 1.0 name used in the source document, and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.

The uri part of the name tuple is None for elements which have no namespace.
Overrides:
_xmlplus.sax.handler.ContentHandler.startElementNS (inherited documentation)

startPrefixMapping(self, prefix, uri)

Begin the scope of a prefix-URI Namespace mapping.

The information from this event is not necessary for normal Namespace processing: the SAX XML reader will automatically replace prefixes for element and attribute names when the http://xml.org/sax/features/namespaces feature is true (the default).

There are cases, however, when applications need to use prefixes in character data or in attribute values, where they cannot safely be expanded automatically; the start/endPrefixMapping event supplies the information to the application to expand prefixes in those contexts itself, if necessary.

Note that start/endPrefixMapping events are not guaranteed to be properly nested relative to each-other: all startPrefixMapping events will occur before the corresponding startElement event, and all endPrefixMapping events will occur after the corresponding endElement event, but their order is not guaranteed.
Overrides:
_xmlplus.sax.handler.ContentHandler.startPrefixMapping (inherited documentation)

Class Variable Details

arrayre

Type:
str
Value:
'^(?:(?P<ns>[^:]*):)?(?P<type>[^[]+)(?:\\[(?P<rank>,*)\\])?(?:\\[(?P<a\
size>\\d+(?:,\\d+)*)?\\])$'                                            

floatlimits

Type:
dict
Value:
{'double': (0.0, -1.7976931348623157e+308, 1.7976931348623157e+308),
 'float': (7.0064923216240854e-46,
           -3.4028234663852886e+38,
           3.4028234663852886e+38)}                                    

intlimits

Type:
dict
Value:
{'byte': (0, -128, 127),
 'int': (0, -2147483648L, 2147483647),
 'long': (1, -9223372036854775808L, 9223372036854775807L),
 'negative-integer': (0, None, -1),
 'negativeInteger': (0, None, -1),
 'non-negative-integer': (0, 0, None),
 'non-positive-integer': (0, None, 0),
 'nonNegativeInteger': (0, 0, None),
...                                                                    

zerofloatre

Type:
str
Value:
'[1-9]'                                                                

Generated by Epydoc 2.1 on Tue Apr 4 14:32:56 2006 http://epydoc.sf.net