A global lookup of tag text to handler. TagHandlers are instanced globally and mapped to the tags they accept. When a tag is found, it is then instanced. One instance of a tag is created per element.
|
static Dictionary< string, Type > | GetAll () |
| Gets all available tag handlers. Note that interally lookups go through MLNamespace.Tags instead. More...
|
|
static void | Clear () |
| Clears all tag handlers. More...
|
|
static bool | Add (Type elementType) |
| Adds an element type to the set. This is generally done automatically, but you can also add it manually if you wish. More...
|
|
static SupportedTagMeta | Get (MLNamespace ns, string tag) |
| Gets the metadata for the given tag. More...
|
|
static Element | Create (MLNamespace ns, string tag) |
| Attempts to find the tag with the given name. If it's not found, a default tag which is known to exist can be returned instead. The handler for the found tag is then instanced and the instance is returned. For example, tag "h1" with a default of "span". More...
|
|