Property | Type | Description | |
---|---|---|---|
_name | string |
Method | Description | |
---|---|---|
LoadPropertyRule ( |
Loads a property rule from the given xml element
|
|
LoadRule ( string propTypeName, string ruleXml ) : IPropRule |
Loads a property rule from the given xml string
|
|
LoadRuleIntoProperty ( string propertyRuleElement, IPropDef def ) : void |
Loads the property rule from the given xml string and applies this to the specified property definition
|
|
XmlRuleLoader ( Habanero.BO.Loaders.DtdLoader dtdLoader, IDefClassFactory defClassFactory ) : System |
Constructor to initialise a new loader with a dtd path
|
Method | Description | |
---|---|---|
Create ( ) : object |
Creates the object using the data that has been read in using LoadFromReader(). This method needs to be implemented by the sub-class.
|
|
CreatePropRule ( ) : IPropRule |
Creates the Prop Rule for.
|
|
CreatePropRule ( string propTypeName, string name, string message ) : IPropRule |
Creates a IPropRule based on the type name.
|
|
LoadFromReader ( ) : void |
Loads the property rule data from the reader
|
protected CreatePropRule ( string propTypeName, string name, string message ) : IPropRule | ||
propTypeName | string | The type name to create the rule for |
name | string | The rule name |
message | string | The rule message |
return | IPropRule |
public LoadPropertyRule ( |
||
ruleElement | The xml element containing the /// rule | |
return | IPropRule |
public LoadRule ( string propTypeName, string ruleXml ) : IPropRule | ||
propTypeName | string | |
ruleXml | string | The xml string containing the rule |
return | IPropRule |
public LoadRuleIntoProperty ( string propertyRuleElement, IPropDef def ) : void | ||
propertyRuleElement | string | The xml string containing the /// property rule |
def | IPropDef | The property definition |
return | void |
public XmlRuleLoader ( Habanero.BO.Loaders.DtdLoader dtdLoader, IDefClassFactory defClassFactory ) : System | ||
dtdLoader | Habanero.BO.Loaders.DtdLoader | The dtd loader |
defClassFactory | IDefClassFactory | The factory for the definition classes |
return | System |