Package gavo :: Package base :: Module activetags :: Class Defaults
[frames] | no frames]

Class Defaults

source code

              object --+            
                       |            
 structure.StructureBase --+        
                           |        
              object --+   |        
                       |   |        
           common.Parser --+        
                           |        
structure.ParseableStructure --+    
                               |    
             structure.Structure --+
                                   |
                                  Defaults

Defaults for macros.

In STREAMs and NXSTREAMs, DEFAULTS let you specify values filled into macros when a FEED doesn't given them. Macro names are attribute names (or element names, if you insist), defaults are their values.

Nested Classes

Inherited from structure.StructureBase: __metaclass__

Instance Methods
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
start_(self, ctx, name, value) source code
 
value_(self, ctx, name, value) source code
 
end_(self, ctx, name, value) source code

Inherited from structure.Structure: __provides__, callCompletedCallbacks, completeElement, finishElement, onElementComplete, validate

Inherited from structure.ParseableStructure: feed, feedFrom, feedObject, getAttribute, iterEvents

Inherited from structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from common.Parser: feedEvent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from structure.StructureBase: fromStructure

Class Variables
  name_ = 'DEFAULTS'
a sentinel for all kinds of undefined values.

Inherited from structure.Structure: __implemented__

Inherited from structure.StructureBase: attrSeq, completedCallbacks, managedAttrs

Properties

Inherited from object: __class__

Method Details

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

start_(self, ctx, name, value)

source code 
Overrides: structure.ParseableStructure.start_

value_(self, ctx, name, value)

source code 
Overrides: structure.ParseableStructure.value_

end_(self, ctx, name, value)

source code 
Overrides: structure.ParseableStructure.end_