CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
edmPickEvents.Handler Class Reference

XML parser class ##. More...

Inheritance diagram for edmPickEvents.Handler:

Public Member Functions

def __init__
 
def characters
 
def endElement
 
def startElement
 

Public Attributes

 files
 
 inFile
 

Detailed Description

XML parser class ##.

Definition at line 89 of file edmPickEvents.py.

Constructor & Destructor Documentation

def edmPickEvents.Handler.__init__ (   self)

Definition at line 91 of file edmPickEvents.py.

91 
92  def __init__(self):
93  self.inFile = 0
94  self.files = []

Member Function Documentation

def edmPickEvents.Handler.characters (   self,
  data 
)

Definition at line 103 of file edmPickEvents.py.

References edmPickEvents.Handler.inFile.

104  def characters(self, data):
105  if self.inFile:
106  self.files.append(str(data))
107 
def edmPickEvents.Handler.endElement (   self,
  name 
)

Definition at line 99 of file edmPickEvents.py.

References edmPickEvents.Handler.inFile.

99 
100  def endElement(self, name):
101  if name == 'file':
102  self.inFile = 0
def edmPickEvents.Handler.startElement (   self,
  name,
  attrs 
)

Definition at line 95 of file edmPickEvents.py.

References edmPickEvents.Handler.inFile.

95 
96  def startElement(self, name, attrs):
97  if name == 'file':
98  self.inFile = 1

Member Data Documentation

edmPickEvents.Handler.files

Definition at line 93 of file edmPickEvents.py.

edmPickEvents.Handler.inFile

Definition at line 92 of file edmPickEvents.py.

Referenced by edmPickEvents.Handler.characters(), edmPickEvents.Handler.endElement(), and edmPickEvents.Handler.startElement().