Handles a tags contained in a language file.
|
| LanguageTagHandler () |
|
Public Member Functions inherited from Wrench.TagHandler |
virtual string[] | GetTags () |
| Returns all tags that are handled by this handler, e.g. "div" or "span". Usually there will be just one in the set but some tags may wish to have more. More...
|
|
virtual bool | SelfClosing () |
| Returns true if this tag has no kids and closes itself. For example <input type='text' />. Note that this method exists to make that final slash essentially optional. More...
|
|
virtual TagHandler | GetInstance () |
| Makes a new instance of this tag handler. A global instance is made of this handler so this is used to generate a new instance in an efficient way. More...
|
|
virtual void | OnTagLoaded () |
| Called when the tag is instanced and the element plus its attributes and kids have been fully parsed. More...
|
|
virtual void | OnParseContent (MLLexer lexer) |
| Called when the parser is reading the content of this tag for custom reading, e.g. a script/style tag. Non-self closing tags only. Anything that's not read by this method is assumed to be a child element. More...
|
|
virtual bool | OnAttributeChange (string attribute) |
| Called on an instance of this handler when an attribute on the element it's attached to changes. It's also called when the tag is being loaded. More...
|
|