# ``twisted`.`python`.`formmethod`.`String``

class documentation

`class String(Argument): (source)`

Known subclasses: `twisted.python.formmethod.Hidden`, `twisted.python.formmethod.Password`, `twisted.python.formmethod.Text`, `twisted.python.formmethod.VerifiedPassword`

View In Hierarchy

A single string.

Method | `__init__` | Undocumented
Method | `coerce` | Convert the value to the correct format.
Class Variable | `defaultDefault` | Undocumented
Instance Variable | `max` | Undocumented
Instance Variable | `min` | Undocumented

Inherited from `Argument`:

Method | `addHints` | Undocumented
Method | `getHint` | Undocumented
Method | `getLongDescription` | Undocumented
Method | `getShortDescription` | Undocumented
Instance Variable | `allowNone` | Undocumented
Instance Variable | `default` | Undocumented
Instance Variable | `hints` | Undocumented
Instance Variable | `longDesc` | Undocumented
Instance Variable | `name` | Undocumented
Instance Variable | `shortDesc` | Undocumented

def __init__(self, name, default=None, shortDesc=None, longDesc=None, hints=None, allowNone=1, min=0, max=None): (source)
overrides `twisted.python.formmethod.Argument.__init__`

Undocumented

def coerce(self, val): (source)
overrides `twisted.python.formmethod.Argument.coerce`
overridden in `twisted.python.formmethod.VerifiedPassword`
Convert the value to the correct format.
defaultDefault: `str` = (source)
overrides `twisted.python.formmethod.Argument.defaultDefault`

Undocumented

max = (source)

Undocumented

min = (source)

Undocumented