Package pyamf :: Module amf3 :: Class ClassDefinition
[hide private]
[frames] | no frames]

Class ClassDefinition

source code


I contain meta relating to the class definition.

Instance Methods [hide private]
 
__init__(self, alias, encoding=2)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_get_name(self) source code
 
_getClass(self)
If alias is None, an anonymous class is returned, otherwise the class is loaded externally.
source code
ClassAlias
getClassAlias(self)
Gets the class alias that is held by this definition.
source code
 
getClass(self)
Gets the referenced class that is held by this definition.
source code
 
getAttrs(self, obj)
Returns a tuple containing a dict of static and dynamic attributes for obj.
source code

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

Instance Variables [hide private]
ClassAlias alias
The alias to this class definition.
int encoding
The type of encoding to use when serializing the object.
Properties [hide private]
  name
  klass
Gets the referenced class that is held by this definition.

Inherited from object: __class__

Method Details [hide private]

__init__(self, alias, encoding=2)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getClassAlias(self)

source code 

Gets the class alias that is held by this definition.

Returns: ClassAlias
Class definition.
Raises:

See Also: load_class.


Instance Variable Details [hide private]

alias

The alias to this class definition. If this value is None, or an empty string, the class is considered to be anonymous.
Type:
ClassAlias

Property Details [hide private]

name

Get Method:
_get_name(self)

klass

Gets the referenced class that is held by this definition.

Get Method:
getClass(self) - Gets the referenced class that is held by this definition.