Public Member Functions

ElementDeclaration Class Reference

Inheritance diagram for ElementDeclaration:
Inheritance graph
[legend]

Public Member Functions

def checkSubstitute
def getSubstitutionElement
def checkSubstitute
def getSubstitutionElement

Detailed Description

Typecodes subclass to represent a Global Element Declaration by
setting class variables schema and literal.

schema = namespaceURI
literal = NCName
substitutionGroup -- GED reference of form, (namespaceURI,NCName)

Definition at line 193 of file schema.py.


Member Function Documentation

def checkSubstitute (   self,
  typecode 
)
If this is True, allow typecode to be substituted
for "self" typecode.

Definition at line 203 of file schema.py.

def checkSubstitute (   self,
  typecode 
)
If this is True, allow typecode to be substituted
for "self" typecode.

Definition at line 203 of file schema.py.

def getSubstitutionElement (   self,
  elt,
  ps 
)
if elt matches a member of the head substitutionGroup, return 
the GED typecode representation of the member.

head -- ElementDeclaration typecode, 
elt -- the DOM element being parsed
ps -- ParsedSoap instance

Definition at line 228 of file schema.py.

def getSubstitutionElement (   self,
  elt,
  ps 
)
if elt matches a member of the head substitutionGroup, return 
the GED typecode representation of the member.

head -- ElementDeclaration typecode, 
elt -- the DOM element being parsed
ps -- ParsedSoap instance

Definition at line 228 of file schema.py.


The documentation for this class was generated from the following files: