Search Results for

    Show / Hide Table of Contents

    Class HtmlParser

    Utility for HTML documents parsing into series of tags.

    Inheritance
    System.Object
    HtmlParser
    Namespace: FlaxEngine.Utilities
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class HtmlParser : Object

    Constructors

    HtmlParser()

    Initializes a new instance of the HtmlParser class.

    Declaration
    public HtmlParser()

    HtmlParser(String)

    Initializes a new instance of the HtmlParser class.

    Declaration
    public HtmlParser(string html)
    Parameters
    System.String html

    Text to parse.

    Methods

    ParseNext(out HtmlTag, String)

    Parses the next tag that matches the specified tag name.

    Declaration
    public bool ParseNext(out HtmlTag tag, string name = null)
    Parameters
    HtmlTag tag

    Returns information on the next occurrence of the specified tag or null if none found.

    System.String name

    Name of the tags to parse (null to parse all tags).

    Returns
    System.Boolean

    True if a tag was parsed or false if the end of the document was reached.

    Reset(String)

    Resets the reading position to the text beginning.

    Declaration
    public void Reset(string html = null)
    Parameters
    System.String html

    Text to parse. Null if unchanged.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat