![]() |
BadScript 2
|
Base class of all Node transformers. More...
Static Public Member Functions | |
static void | Transform (BadHtmlContext context) |
Transforms the input node with one of the registered transformers. | |
Protected Member Functions | |
bool | CanTransform (BadHtmlContext context) |
Returns true if the transformer can transform the specified node. | |
void | TransformNode (BadHtmlContext context) |
Transforms the input node. | |
Static Protected Member Functions | |
static void | TransformAttributes (BadHtmlContext context, HtmlNode outputNode) |
Transforms all attributes of the input node and writes it to the specified output node. | |
Static Private Attributes | |
static readonly List< BadHtmlNodeTransformer > | s_Transformers |
List of all node transformers used in the engine. | |
Base class of all Node transformers.
Definition at line 15 of file BadHtmlNodeTransformer.cs.
|
abstractprotected |
Returns true if the transformer can transform the specified node.
context | The Html Context |
|
static |
Transforms the input node with one of the registered transformers.
context | The Html Context |
InvalidOperationException | Gets raised if the node can not be transformed |
Definition at line 78 of file BadHtmlNodeTransformer.cs.
|
staticprotected |
Transforms all attributes of the input node and writes it to the specified output node.
context | The Html Context |
outputNode | The Output Node |
Definition at line 54 of file BadHtmlNodeTransformer.cs.
|
abstractprotected |
Transforms the input node.
context | The Html Context |
|
staticprivate |
List of all node transformers used in the engine.
Definition at line 20 of file BadHtmlNodeTransformer.cs.