#include <InheritsElement.h>
Inheritance diagram for InheritsElement:
Public Methods | |
InheritsElement () | |
Default constructor - does nothing. | |
InheritsElement (const skString& location,DOM_Element elem) | |
passes parameters up to parent, and then calls replaceInherits to look for inherits tags. More... | |
Protected Methods | |
virtual void | setElement (DOM_Element elem) |
This method overrides the parent method and ensures that replaceInherits is called on the element associated with this object. | |
virtual skXMLElementObject* | createXMLElementObject (const skString& location,DOM_Element element) |
This method overrides the parent method, it makes sure that if an object is created to associated with a sub-element, an InheritsElement type is used. | |
Static Protected Methods | |
void | replaceInherits (DOM_Element elem) |
This method walks through the given element, replacing any instances of <inherits> with the contents of the XML file given as the value of the inherits tag. |
It overrides the createXMLElementObject method to make sure that any sub-elements are also checked.
|
passes parameters up to parent, and then calls replaceInherits to look for inherits tags.
|