Package gavo :: Package rscdef :: Module regtest :: Class Upload
[frames] | no frames]

Class Upload

source code

                   object --+            
                            |            
 base.structure.StructureBase --+        
                                |        
                   object --+   |        
                            |   |        
           base.common.Parser --+        
                                |        
base.structure.ParseableStructure --+    
                                    |    
             base.structure.Structure --+
                                        |
                                       Upload

An upload going with a URL.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
addToForm(self, form)
sets up a _Form instance to upload the data.
source code
 
validate(self) source code

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

Inherited from base.structure.ParseableStructure: __init__, end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

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

Inherited from base.common.Parser: feedEvent

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

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = 'httpUpload'
a sentinel for all kinds of undefined values.
  attrSeq = [<gavo.base.structure.DataContent object>, <gavo.bas...
  managedAttrs = {'content_': <gavo.base.structure.DataContent o...

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties
  rd
  source

Inherited from object: __class__

Method Details

validate(self)

source code 
Overrides: base.structure.Structure.validate

Class Variable Details

attrSeq

Value:
[<gavo.base.structure.DataContent object>,
 <gavo.base.attrdef.UnicodeAttribute object>,
 <gavo.base.parsecontext.IdAttribute object>,
 <gavo.base.attrdef.UnicodeAttribute object>,
 <gavo.rscdef.common.ResdirRelativeAttribute object>]

managedAttrs

Value:
{'content_': <gavo.base.structure.DataContent object>,
 'fileName': <gavo.base.attrdef.UnicodeAttribute object>,
 'id': <gavo.base.parsecontext.IdAttribute object>,
 'name': <gavo.base.attrdef.UnicodeAttribute object>,
 'source': <gavo.rscdef.common.ResdirRelativeAttribute object>}

Property Details

rd

Get Method:
unreachable.rd(self)

source

Get Method:
unreachable.computePath(instance)
Set Method:
unreachable.setRelative(instance, value)