Show / Hide Table of Contents

    Class SimpleHTMLEncoder

    Simple IEncoder implementation to escape text for HTML output

    Inheritance
    System.Object
    SimpleHTMLEncoder
    Implements
    IEncoder
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class SimpleHTMLEncoder : 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 © 2019 Licensed to the Apache Software Foundation (ASF)