TC
index
/home/groups/p/py/pywebsvcs/src/ZSI/TC.py

General typecodes.

 
Modules
       
copy
operator
re
time
types

 
Classes
       
SimpleType(TypeCode)
Boolean
List
String
Base64Binary
Base64String
Enumeration
HexBinaryString
QName
Token
URI
XMLString
Union
TypeCode
Any
AnyType
AnyElement
XML

 
class Any(TypeCode)
    When the type isn't defined in the schema, but must be specified
in the incoming operation.
    parsemap -- a type to class mapping (updated by descendants), for
            parsing
    serialmap -- same, for (outgoing) serialization
 
  Methods defined here:
__init__(self, pname=None, aslist=False, minOccurs=0, unique=False, **kw)
get_formatted_content(self, pyobj)
listify(self, v)
# input arg v should be a list of tuples (name, value).
parse(self, elt, ps)
parse_into_dict_or_list(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, **kw)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parsemap = {}
serialmap = {}

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Parameters:
    text -- text content
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
type = (None, None)
typechecks = True

 
class AnyElement(AnyType)
    XML Schema xsi:any element declaration wildCard.
class variables: 
     tag -- global element declaration
 
 
Method resolution order:
AnyElement
AnyType
TypeCode

Methods defined here:
__init__(self, namespaces=['#all'], pname=None, minOccurs=1, maxOccurs=1, strip=1, processContents='strict', **kw)
parse(self, elt, ps)
processContents -- 'lax' | 'skip' | 'strict', 'strict'
1) if 'skip' check namespaces, and return the DOM node.
2) if 'lax' look for declaration, or definition.  If
   not found return DOM node.
3) if 'strict' get declaration, or raise.
serialize(self, elt, sw, pyobj, **kw)
Must provice typecode to AnyElement for serialization, else
try to use TC.Any to serialize instance which will serialize 
based on the data type of pyobj w/o reference to XML schema 
instance.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
tag = ('http://www.w3.org/2001/XMLSchema', 'any')

Methods inherited from AnyType:
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.  Used only with
attributes so will not know anything about this content so
why guess?
Parameters:
    text -- text content
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.

Data and other attributes inherited from AnyType:
all = '#all'
other = '#other'
type = ('http://www.w3.org/2001/XMLSchema', 'anyType')

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
typechecks = True

 
class AnyType(TypeCode)
    XML Schema xsi:anyType type definition wildCard.
class variables: 
   all -- specifies use of all namespaces.
   other -- specifies use of other namespaces
   type --
 
  Methods defined here:
__init__(self, pname=None, namespaces=['#all'], minOccurs=1, maxOccurs=1, strip=1, **kw)
get_formatted_content(self, pyobj)
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, **kw)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.  Used only with
attributes so will not know anything about this content so
why guess?
Parameters:
    text -- text content
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.

Data and other attributes defined here:
all = '#all'
logger = <ZSI.wstools.logging.BasicLogger instance>
other = '#other'
type = ('http://www.w3.org/2001/XMLSchema', 'anyType')

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class Base64Binary(String)
    
Method resolution order:
Base64Binary
String
SimpleType
TypeCode

Methods defined here:
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'base64Binary')]
type = ('http://www.w3.org/2001/XMLSchema', 'base64Binary')

Methods inherited from String:
__init__(self, pname=None, strip=True, **kw)

Data and other attributes inherited from String:
empty_content = ''
seriallist = [<type 'str'>, <type 'unicode'>]

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class Base64String(String)
    A Base64 encoded string.
 
 
Method resolution order:
Base64String
String
SimpleType
TypeCode

Methods defined here:
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'base64Binary'), ('http://schemas.xmlsoap.org/soap/encoding/', 'base64')]
type = ('http://schemas.xmlsoap.org/soap/encoding/', 'base64')

Methods inherited from String:
__init__(self, pname=None, strip=True, **kw)

Data and other attributes inherited from String:
empty_content = ''
seriallist = [<type 'str'>, <type 'unicode'>]

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class Boolean(SimpleType)
    A boolean.
 
 
Method resolution order:
Boolean
SimpleType
TypeCode

Methods defined here:
get_formatted_content(self, pyobj)
parse(self, elt, ps)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'boolean')]
seriallist = [<type 'bool'>]
type = ('http://www.w3.org/2001/XMLSchema', 'boolean')

Methods inherited from SimpleType:
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Data and other attributes inherited from SimpleType:
empty_content = None

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
__init__(self, pname=None, aname=None, minOccurs=1, maxOccurs=1, nillable=False, typed=True, unique=True, pyclass=None, attrs_aname='_attrs', **kw)
Baseclass initialization.
Instance data (and usually keyword arg)
    pname -- the parameter name (localname).
    nspname -- the namespace for the parameter;
        None to ignore the namespace
    typed -- output xsi:type attribute
    unique -- data item is not aliased (no href/id needed)
    minOccurs -- min occurances
    maxOccurs -- max occurances
    nillable -- is item nillable?
    attrs_aname -- This is variable name to dictionary of attributes
    encoded -- encoded namespaceURI (specify if use is encoded)
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class Enumeration(String)
    A string type, limited to a set of choices.
 
 
Method resolution order:
Enumeration
String
SimpleType
TypeCode

Methods defined here:
__init__(self, choices, pname=None, **kw)
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from String:
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Encode all strings as UTF-8, which will be type 'str'
not 'unicode'

Data and other attributes inherited from String:
empty_content = ''
parselist = [(None, 'string')]
seriallist = [<type 'str'>, <type 'unicode'>]
type = ('http://www.w3.org/2001/XMLSchema', 'string')

Methods inherited from SimpleType:
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class HexBinaryString(String)
    Hex-encoded binary (yuk).
 
 
Method resolution order:
HexBinaryString
String
SimpleType
TypeCode

Methods defined here:
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'hexBinary')]
type = ('http://www.w3.org/2001/XMLSchema', 'hexBinary')

Methods inherited from String:
__init__(self, pname=None, strip=True, **kw)

Data and other attributes inherited from String:
empty_content = ''
seriallist = [<type 'str'>, <type 'unicode'>]

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class List(SimpleType)
    simpleType List
Class data:
    itemType -- sequence (namespaceURI,name) or a TypeCode instance
        representing the type definition
 
 
Method resolution order:
List
SimpleType
TypeCode

Methods defined here:
__init__(self, pname=None, itemType=None, **kw)
Currently need to require maxOccurs=1, so list
is interpreted as a single unit of data.
parse(self, elt, ps)
elt -- the DOM element being parsed
ps -- the ParsedSoap object.
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
elt -- the current DOMWrapper element 
sw -- soapWriter object
pyobj -- python object to serialize
text_to_data(self, text, elt, ps)
convert text into typecode specific data.  items in
list are space separated.

Data and other attributes defined here:
itemType = None
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from SimpleType:
get_formatted_content(self, pyobj)
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Data and other attributes inherited from SimpleType:
empty_content = None

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
type = (None, None)
typechecks = True

 
class QName(String)
    QName type
 
 
Method resolution order:
QName
String
SimpleType
TypeCode

Methods defined here:
__init__(self, pname=None, strip=1, **kw)
get_formatted_content(self, pyobj)
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.
set_prefix(self, elt, pyobj)
use this method to set the prefix of the QName,
method looks in DOM to find prefix or set new prefix.
This method must be called before get_formatted_content.
text_to_data(self, text, elt, ps)
convert text into typecode specific data.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'QName')]
type = ('http://www.w3.org/2001/XMLSchema', 'QName')

Data and other attributes inherited from String:
empty_content = ''
seriallist = [<type 'str'>, <type 'unicode'>]

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class String(SimpleType)
    A string type.
 
 
Method resolution order:
String
SimpleType
TypeCode

Methods defined here:
__init__(self, pname=None, strip=True, **kw)
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Encode all strings as UTF-8, which will be type 'str'
not 'unicode'

Data and other attributes defined here:
empty_content = ''
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'string')]
seriallist = [<type 'str'>, <type 'unicode'>]
type = ('http://www.w3.org/2001/XMLSchema', 'string')

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class Token(String)
    an xsd:token type
 
 
Method resolution order:
Token
String
SimpleType
TypeCode

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'token')]
type = ('http://www.w3.org/2001/XMLSchema', 'token')

Methods inherited from String:
__init__(self, pname=None, strip=True, **kw)
get_formatted_content(self, pyobj)
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Encode all strings as UTF-8, which will be type 'str'
not 'unicode'

Data and other attributes inherited from String:
empty_content = ''
seriallist = [<type 'str'>, <type 'unicode'>]

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class URI(String)
    URI.
Class data:
    reserved -- urllib.quote will escape all reserved characters
         regardless of whether they are used for the reserved purpose.
 
 
Method resolution order:
URI
String
SimpleType
TypeCode

Methods defined here:
get_formatted_content(self, pyobj)
typecode data --> text
text_to_data(self, text, elt, ps)
text --> typecode specific data.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
parselist = [(None, 'anyURI'), ('http://www.w3.org/2001/XMLSchema', 'anyURI')]
reserved = ';/?:@&=+$,'
type = ('http://www.w3.org/2001/XMLSchema', 'anyURI')

Methods inherited from String:
__init__(self, pname=None, strip=True, **kw)

Data and other attributes inherited from String:
empty_content = ''
seriallist = [<type 'str'>, <type 'unicode'>]

Methods inherited from SimpleType:
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
class Union(SimpleType)
    simpleType Union
 
class variables:
    memberTypes -- list [(namespace,name),] tuples, each representing a type defintion.
 
 
Method resolution order:
Union
SimpleType
TypeCode

Methods defined here:
__init__(self, pname=None, minOccurs=1, maxOccurs=1, **kw)
get_formatted_content(self, pyobj, **kw)
parse(self, elt, ps, **kw)
attempt to parse sequentially.  No way to know ahead of time
what this instance represents.  Must be simple type so it can
not have attributes nor children, so this isn't too bad.
setMemberTypeCodes(self)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
memberTypes = None

Methods inherited from SimpleType:
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Data and other attributes inherited from SimpleType:
empty_content = None

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Parameters:
    text -- text content
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
type = (None, None)
typechecks = True

 
class XML(TypeCode)
    Opaque XML which shouldn't be parsed.
comments -- preserve comments
inline -- don't href/id when serializing
resolver -- object to resolve href's
wrapped -- put a wrapper element around it
 
  Methods defined here:
__init__(self, pname=None, comments=0, inline=0, wrapped=True, **kw)
cb(self, elt, sw, pyobj, unsuppressedPrefixes=[])
pyobj -- xml.dom.Node.ELEMENT_NODE
parse(self, elt, ps)
serialize(self, elt, sw, pyobj, name=None, unsuppressedPrefixes=[], **kw)

Data and other attributes defined here:
copyit = 0
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Parameters:
    text -- text content
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
type = (None, None)
typechecks = True

 
class XMLString(String)
    A string that represents an XML document
 
 
Method resolution order:
XMLString
String
SimpleType
TypeCode

Methods defined here:
__init__(self, pname=None, readerclass=None, **kw)
get_formatted_content(self, pyobj)
parse(self, elt, ps)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from String:
text_to_data(self, text, elt, ps)
convert text into typecode specific data.
Encode all strings as UTF-8, which will be type 'str'
not 'unicode'

Data and other attributes inherited from String:
empty_content = ''
parselist = [(None, 'string')]
seriallist = [<type 'str'>, <type 'unicode'>]
type = ('http://www.w3.org/2001/XMLSchema', 'string')

Methods inherited from SimpleType:
serialize(self, elt, sw, pyobj, name=None, orig=None, **kw)
Handles the start and end tags, and attributes.  callout
to get_formatted_content to get the textNode value.
Parameters:
    elt -- ElementProxy/DOM element 
    sw -- SoapWriter instance
    pyobj -- processed content
    
KeyWord Parameters:
    name -- substitute name, (nspname,name) or name
    orig --
serialize_text_node(self, elt, sw, pyobj)
Serialize without an element node.

Methods inherited from TypeCode:
SimpleHREF(self, elt, ps, tag)
Simple HREF for non-string and non-struct and non-array.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    tag --
checkname(self, elt, ps)
See if the name and type of the "elt" element is what we're
looking for.   Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
checktype(self, elt, ps)
See if the type of the "elt" element is what we're looking for.
Return the element's type.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
get_name(self, name, objid)
Paramters:
    name -- element tag
    objid -- ID type, unique id
get_parse_and_errorlist(self)
Get the parselist and human-readable version, errorlist is returned,
because it is used in error messages.
has_attributes(self)
Return True if Attributes are declared outside
the scope of SOAP ('root', 'id', 'href'), and some
attributes automatically handled (xmlns, xsi:type).
name_match(self, elt)
Simple boolean test to see if we match the element name.
Parameters:
    elt -- the DOM element being parsed
nilled(self, elt, ps)
Is the element NIL, and is that okay?
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
parse_attributes(self, elt, ps)
find all attributes specified in the attribute_typecode_dict in
current element tag, if an attribute is found set it in the 
self.attributes dictionary.  Default to putting in String.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
serialize_as_nil(self, elt)
Parameters:
    elt -- the current DOMWrapper element
set_attribute_href(self, el, objid)
set href attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_id(self, el, objid)
set id attribute
Paramters:
    el -- MessageInterface representing the element
    objid -- ID type, unique id
set_attribute_xsi_type(self, el, **kw)
if typed, set the xsi:type attribute 
Paramters:
    el -- MessageInterface representing the element
set_attributes(self, el, pyobj)
Instance data attributes contains a dictionary 
of keys (namespaceURI,localName) and attribute values.
These values can be self-describing (typecode), or use
attribute_typecode_dict to determine serialization.
Paramters:
    el -- MessageInterface representing the element
    pyobj --
simple_value(self, elt, ps, mixed=False)
Get the value of the simple content of this element.
Parameters:
    elt -- the DOM element being parsed
    ps -- the ParsedSoap object.
    mixed -- ignore element content, optional text node

Data and other attributes inherited from TypeCode:
attribute_typecode_dict = None
tag = None
typechecks = True

 
Functions
       
StringIO(...)
StringIO([s]) -- Return a StringIO-like stream for reading or writing
hexdecode = unhexlify(...)
a2b_hex(hexstr) -> s; Binary data of hexadecimal representation.
 
hexstr must contain an even number of hex digits (upper or lower case).
This function is also available as "unhexlify()"
hexencode = hexlify(...)
b2a_hex(data) -> s; Hexadecimal representation of binary data.
 
This function is also available as "hexlify()".

 
Data
        Nilled = None
TYPES = [<class TCcompound.Array>, <class TCcompound.ComplexType>, <class TCtimes.Duration>, <class TCnumbers.FPEnumeration>, <class TCnumbers.FPdouble>, <class TCnumbers.FPfloat>, <class TCtimes.Gregorian>, <class TCnumbers.IEnumeration>, <class TCnumbers.Ibyte>, <class TCnumbers.Iint>, <class TCnumbers.Iinteger>, <class TCnumbers.Ilong>, <class TCnumbers.InegativeInteger>, <class TCnumbers.InonNegativeInteger>, <class TCnumbers.InonPositiveInteger>, <class ZSI.TC.Integer>, <class TCnumbers.IpositiveInteger>, <class TCnumbers.Ishort>, <class TCnumbers.IunsignedByte>, <class TCnumbers.IunsignedInt>, ...]
UNBOUNDED = 'unbounded'
UNICODE_ENCODING = 'utf-8'