Package pdi :: Module core :: Class VUnknown
[show private | hide private]
[frames | no frames]

Class VUnknown

object --+    
         |    
 Component --+
             |
            VUnknown


This class is used for all components that do not have their own classes registered.
Method Summary
  __init__(self, name, parent)
a new object with type S, a subtype of T __new__(S, ...)
  __str__(self)
Serialize this component as well as it's properties and subcomponents. (inherited from Component)
pdi.core.Component addComponent(self, component, lineNumber)
Add a subcomponent to this component. (inherited from Component)
  addComponents(self, componentList)
Candy method for adding several components at one time. (inherited from Component)
  addProperties(self, propertyList)
Candy method for adding several properties at one time. (inherited from Component)
pdi.core.Property addProperty(self, property, lineNumber)
Add a property to this component. (inherited from Component)
string getName(self)
Returns the name provided on instansiation rather than the uppercased class name due to the fact that the component is of unknown type.
  interpret(self, key, value, lineNumber)
Interprets a symbol and value. (inherited from Component)
pdi.core.Component parseLine(self, data, lineNumber)
This parses one line of data. (inherited from Component)
  registerComponents(self, componentList, rule)
Register all valid (or invalid, depending on rule) components. (inherited from Component)
  registerProperties(self, propertyList, rule)
Register valid (or invalid, depending on rule) properties. (inherited from Component)
  registerPropertyTypes(self, propertyTypes)
Register available property types. (inherited from Component)
  validate(self, lineNumber)
This will make sure that all mandatory components and properties are present. (inherited from Component)
  _validate(self, recursive, lineNumber)
Internal method for validating components. (inherited from Component)

Method Details

__init__(self, name, parent=None)
(Constructor)

Parameters:
name - The name of the component is required since it doesn't provide it through the class name.
           (type=string)
parent - The parent component, if any. May be omitted or None if it is a top-level component.
           (type=pdi.core.Component)

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

getName(self)

Returns the name provided on instansiation rather than the uppercased class name due to the fact that the component is of unknown type.
Returns:
The components name (usually the uppercased class name, but not always).
           (type=string)

Generated by Epydoc 1.1 on Sun Nov 24 14:33:25 2002 http://epydoc.sf.net