Peach :: Generators :: static :: _StaticFromTemplate :: Class _StaticFromTemplate
[hide private]

Class _StaticFromTemplate

source code


This Static is for use with Peach 2.0. The value will be gotten from the Template object every time

Instance Methods [hide private]
 
__init__(self, action, node)
Base constructor, please call me!
source code
string
getRawValue(self)
Return raw value w/o passing through transformer if set.
source code

Inherited from Static: next, setValue

Inherited from generator.Generator: __iter__, getGroup, getName, getTransformer, getValue, identity, reset, setGroup, setName, setTransformer

Static Methods [hide private]

Inherited from Static: unittest

Class Variables [hide private]

Inherited from Static (private): _value

Method Details [hide private]

__init__(self, action, node)
(Constructor)

source code 

Base constructor, please call me!

Parameters:
  • action (Action instance) - Action that contains data model
  • node (DataElement) - Data element to get value from
Overrides: generator.Generator.__init__

getRawValue(self)

source code 

Return raw value w/o passing through transformer if set. OVERRIDE

Returns: string
Data before transformations
Overrides: generator.Generator.getRawValue
(inherited documentation)