Show / Hide Table of Contents

    Class SimpleHTMLEncoder

    Simple IEncoder implementation to escape text for HTML output

    Inheritance
    System.Object
    SimpleHTMLEncoder
    Implements
    IEncoder
    Namespace: Lucene.Net.Search.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class SimpleHTMLEncoder : object, IEncoder

    Constructors

    | Improve this Doc View Source

    SimpleHTMLEncoder()

    Declaration
    public SimpleHTMLEncoder()

    Methods

    | Improve this Doc View Source

    EncodeText(String)

    Declaration
    public string EncodeText(string originalText)
    Parameters
    Type Name Description
    System.String originalText
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    HtmlEncode(String)

    Encode string into HTML

    Declaration
    public static string HtmlEncode(string plainText)
    Parameters
    Type Name Description
    System.String plainText
    Returns
    Type Description
    System.String

    Implements

    IEncoder
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)