SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
dialog.controller.ItemController Class Reference

override this abstract class's get/set methods to have a per field controller. More...

Inheritance diagram for dialog.controller.ItemController:
dialog.attributecontrollers.AttributeController dialog.attributecontrollers.AttributeIndexController dialog.attributecontrollers.AttributeListController dialog.attributecontrollers.EndElevationController dialog.attributecontrollers.ObjectController dialog.attributecontrollers.ObjectIndexController dialog.attributecontrollers.ObjectListController gadget_protocol_member.MemberAttrController gadget_protocol_member.MemberDateController

Methods defined here:

def foo
def foo
def __init__

Data descriptors defined here:

def __dict__
 dictionary for instance variables (if defined)

Methods inherited from __builtin__.str:

def __add__
 Equivalent to x+y.
def __contains__
 Equivalent to y in x.
def __eq__
 Equivalent to x==y.
def __format__
def __ge__
 Equivalent to x>=y.
def __getattribute__
 Equivalent to x.name.
def __getitem__
 Equivalent to x[y].
def __getnewargs__
def __getslice__
 Equivalent to x[i:j].
def __gt__
 Equivalent to x>y.
def __hash__
 Equivalent to hash(x)
def __le__
 Equivalent to x<=y.
def __len__
 Equivalent to len(x)
def __lt__
 Equivalent to x<y.
def __mod__
 Equivalent to xy.
def __mul__
 Equivalent to x*n.
def __ne__
 Equivalent to x!=y.
def __repr__
 Equivalent to repr(x)
def __rmod__
 Equivalent to yx.
def __rmul__
 Equivalent to n*x.
def __sizeof__
def __str__
 Equivalent to str(x)
def capitalize
def center
def count
def decode
def encode
def endswith
def expandtabs
def find
def format
def index
def isalnum
def isalpha
def isdigit
def islower
def isspace
def istitle
def isupper
def join
def ljust
def lower
def lstrip
def partition
def replace
def rfind
def rindex
def rjust
def rpartition
def rsplit
def rstrip
def split
def splitlines
def startswith
def strip
def swapcase
def title
def translate
def upper
def zfill

Data and other attributes inherited from __builtin__.str:

def __new__

Detailed Description

override this abstract class's get/set methods to have a per field controller.

This is compatible with any properly setup controller (any controller that correctly calls Controller.load and Controller.store

Method resolution order

ItemController
builtin.str
builtin.basestring
builtin.object

Constructor & Destructor Documentation

def dialog.controller.ItemController.__init__ (   args)

Member Function Documentation

def dialog.controller.ItemController.__add__ (   y)
def dialog.controller.ItemController.__contains__ (   y)
def dialog.controller.ItemController.__dict__ (   args)
def dialog.controller.ItemController.__eq__ (   y)
def dialog.controller.ItemController.__format__ (   format_spec)
def dialog.controller.ItemController.__ge__ (   y)
def dialog.controller.ItemController.__getattribute__ (   name)
def dialog.controller.ItemController.__getitem__ (   y)
def dialog.controller.ItemController.__getnewargs__ (   args)
def dialog.controller.ItemController.__getslice__ (   i,
  j 
)
def dialog.controller.ItemController.__gt__ (   y)
def dialog.controller.ItemController.__hash__ (   args)
def dialog.controller.ItemController.__le__ (   y)
def dialog.controller.ItemController.__len__ (   args)
def dialog.controller.ItemController.__lt__ (   y)
def dialog.controller.ItemController.__mod__ (   y)
def dialog.controller.ItemController.__mul__ (   n)
def dialog.controller.ItemController.__ne__ (   y)
def dialog.controller.ItemController.__new__ (   args)
def dialog.controller.ItemController.__repr__ (   args)
def dialog.controller.ItemController.__rmod__ (   y)
def dialog.controller.ItemController.__rmul__ (   n)
def dialog.controller.ItemController.__sizeof__ (   args)
def dialog.controller.ItemController.__str__ (   args)
def dialog.controller.ItemController.capitalize (   args)
def dialog.controller.ItemController.center (   width,
  fillchar 
)
def dialog.controller.ItemController.count (   sub,
  start,
  end 
)
def dialog.controller.ItemController.decode (   encoding,
  errors 
)
Returns
Instance of type object
 Decodes S using the codec registered for encoding. encoding defaults
 to the default encoding. errors may be given to set a different error
 handling scheme. Default is 'strict' meaning that encoding errors raise
 a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'
 as well as any other name registered with codecs.register_error that is
 able to handle UnicodeDecodeErrors.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.encode (   encoding,
  errors 
)
Returns
Instance of type object
 Encodes S using the codec registered for encoding. encoding defaults
 to the default encoding. errors may be given to set a different error
 handling scheme. Default is 'strict' meaning that encoding errors raise
 a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
 'xmlcharrefreplace' as well as any other name registered with
 codecs.register_error that is able to handle UnicodeEncodeErrors.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.endswith (   suffix,
  start,
  end 
)
Returns
Instance of type bool
 Return True if S ends with the specified suffix, False otherwise.
 With optional start, test S beginning at that position.
 With optional end, stop comparing S at that position.
 suffix can also be a tuple of strings to try.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.expandtabs (   tabsize)
def dialog.controller.ItemController.find (   sub,
  start,
  end 
)
def dialog.controller.ItemController.foo (   args)
 Get = foo(args)
def dialog.controller.ItemController.foo (   args)
 Set = foo(args)
def dialog.controller.ItemController.format (   args,
  kwargs 
)
def dialog.controller.ItemController.index (   sub,
  start,
  end 
)
def dialog.controller.ItemController.isalnum (   args)
def dialog.controller.ItemController.isalpha (   args)
def dialog.controller.ItemController.isdigit (   args)
def dialog.controller.ItemController.islower (   args)
def dialog.controller.ItemController.isspace (   args)
def dialog.controller.ItemController.istitle (   args)
def dialog.controller.ItemController.isupper (   args)
def dialog.controller.ItemController.join (   iterable)
def dialog.controller.ItemController.ljust (   width,
  fillchar 
)
def dialog.controller.ItemController.lower (   args)
def dialog.controller.ItemController.lstrip (   chars)
def dialog.controller.ItemController.partition (   sep)
def dialog.controller.ItemController.replace (   old,
  new,
  count 
)
def dialog.controller.ItemController.rfind (   sub,
  start,
  end 
)
def dialog.controller.ItemController.rindex (   sub,
  start,
  end 
)
def dialog.controller.ItemController.rjust (   width,
  fillchar 
)
def dialog.controller.ItemController.rpartition (   sep)
def dialog.controller.ItemController.rsplit (   sep,
  maxsplit 
)
Returns
Instance of type list of strings
 Return a list of the words in the string S, using sep as the
 delimiter string, starting at the end of the string and working
 to the front.  If maxsplit is given, at most maxsplit splits are
 done. If sep is not specified or is None, any whitespace string
 is a separator.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.rstrip (   chars)
def dialog.controller.ItemController.split (   sep,
  maxsplit 
)
Returns
Instance of type list of strings
 Return a list of the words in the string S, using sep as the
 delimiter string.  If maxsplit is given, at most maxsplit
 splits are done. If sep is not specified or is None, any
 whitespace string is a separator and empty strings are removed
 from the result.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.splitlines (   keepends)
def dialog.controller.ItemController.startswith (   prefix,
  start,
  end 
)
Returns
Instance of type bool
 Return True if S starts with the specified prefix, False otherwise.
 With optional start, test S beginning at that position.
 With optional end, stop comparing S at that position.
 prefix can also be a tuple of strings to try.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.strip (   chars)
Returns
Instance of type string or unicode
 Return a copy of the string S with leading and trailing
 whitespace removed.
 If chars is given and not None, remove characters in chars instead.
 If chars is unicode, S will be converted to unicode before stripping

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.swapcase (   args)
def dialog.controller.ItemController.title (   args)
def dialog.controller.ItemController.translate (   table,
  deletechars 
)
Returns
Instance of type string
 Return a copy of the string S, where all characters occurring
 in the optional argument deletechars are removed, and the
 remaining characters have been mapped through the given
 translation table, which must be a string of length 256.

Reimplemented in dialog.attributecontrollers.ObjectListController, dialog.attributecontrollers.ObjectIndexController, dialog.attributecontrollers.ObjectController, dialog.attributecontrollers.EndElevationController, gadget_protocol_member.MemberDateController, dialog.attributecontrollers.AttributeListController, gadget_protocol_member.MemberAttrController, dialog.attributecontrollers.AttributeIndexController, and dialog.attributecontrollers.AttributeController.

def dialog.controller.ItemController.upper (   args)
def dialog.controller.ItemController.zfill (   width)