Home | Trees | Index | Help |
---|
Package pdi :: Module core :: Class Property |
|
object
--+
|
Property
DateProperty
,
UnknownProperty
,
TextProperty
Method Summary | |
---|---|
| |
a new object with type S, a subtype of T |
|
Serializes a property back to raw data. | |
Use this to fetch the content. | |
Issue warning. | |
Use this to set the content. | |
boolean |
Validates the property content. |
boolean |
Internal method for validation. |
Method Details |
---|
__init__(self,
name,
content,
value,
encoding,
type,
lineNumber=None)
|
__new__(S, ...)
|
__str__(self)
Serializes a property back to raw data.
|
getContent(self)Use this to fetch the content.
|
invalidContent(self, message, content)Issue warning.
|
setContent(self, content)Use this to set the content. The content will be validated.
|
validate(self)Validates the property content. Issues warnings.
|
_validate(self, content)Internal method for validation. Override this for your own validation. You should issue warnings in this method. Exceptions are disliked, if your value is really out of whack you may set it to None.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 24 14:33:25 2002 | http://epydoc.sf.net |