| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Package interfaces :: Module XMLCapability :: Class XMLCapabilityInterface |
|
Base --+
|
XMLCapabilityInterface
| Method Summary | |
|---|---|
Returns the (DOM) DocumentObject for the receiver. | |
Returns the node name corresponding to the receiver (e.g. | |
raise 'AbstractInterface', 'xmlAttributesDict is an abstract method which should be defined in classes using the mix-in class XMLCapability' | |
xmlAttributeType(self,
attributeName)
| |
xmlGetAttribute(self,
attributeName)
| |
xmlSetAttribute(self,
attributeName)
| |
| Method Details |
|---|
getXMLDOM(self, doc=None, parentNode=None)Returns the (DOM) DocumentObject for the receiver. Parameters 'doc' and 'parentDoc' should be both omitted or supplied. If they are omitted, a new DocumentObject is created. If they are supplied, elements are added to the parentNode. Returns: the (possibly new) DocumentObject. |
getXMLNodeName(self)Returns the node name corresponding to the receiver (e.g. 'relationship') |
xmlAttributesDict(self)raise 'AbstractInterface', 'xmlAttributesDict is an abstract method which should be defined in classes using the mix-in class XMLCapability' Example:
return {'name': ('string',
lambda self=None,p=None: None,
self.name ),
'isAbstract': ( 'boolean',
self.setIsAbstract,
self.isAbstract ),
'typeName': ( 'string',
self.setTypeName,
self.typeName )
}
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:25 2006 | http://epydoc.sf.net |