Try our conversational search powered by Generative AI!

Namespace EPiServer.HtmlParsing

Classes

AttributeCollection

A collection of HTML name/value attributes.

AttributeFragment

An attribute in a HTML element

CDataFragment

A CDATA fragment in a HTML stream.

CommentFragment

Represents a HTML comment.

ContextExtensions

Extension methods for IHtmlParserContext

DefaultFilterRules

Concrete implementation of IFilterRules with conservative rules for creating safe HTML code.

DocumentTypeFragment

A DOCTYPE directive in a HTML stream

ElementFragment

Represents a HTML element.

EndElementFragment

Represents a HTML end element.

FilterContext

The context passed to HTML filtering methods.

FilterRules

Provides access to standard IFilterRules.

FragmentCreator

Concrete implementation of the IFragmentCreator interface.

HtmlFilter

Simple HTML sanitizer to remove unsafe constructs.

HtmlFragment

Abstract base class for all HTML fragment types.

HtmlParserContext

HtmlStreamReader

A streaming HTML parser implementation that will enumerate the HTML fragments in the stream.

ImplicitCDataFragment

Represents an implicit CDATA fragment, such as the text in a <script> or <style> tag.

ProcessingInstructionFragment

Represents a Processing Instruction.

RunningComparer

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specialized string comparison class used to find a string match in a continous stream of characters.

SpecialInstructionFragment

Represents a HTML fragment that has a leading <! character sequence, but is not a comment/DOCTYPE/CDATA.

StringNode<T>

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A node for the string tokenizer tree.

StringSource

Concrete implementation of the IHtmlSource interface for pulling HTML from a string.

StringToken<T>

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

StringToken<T>.TokenResult

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

StripHtmlFilterRules

Strips all html from filtered input.

TextFragment

Represents a text node in a HTML stream.

TextReaderSource

Concrete implementation of the IHtmlSource interface for pulling HTML from a TextReader.

TokenFragmentBase<T>

Abstract class for representing HTML fragments that can have token representation of the fragment name.

Interfaces

IFilterRules

Interface that defines the rules for HTML filtering

IFragmentCreator

Interface defining the basic handler for HTML fragment creation.

IHtmlParserContext

The interface that connects the HtmlStreamReader with the HTML source to be parsed.

IHtmlSource

The interface for reading from a HTML source stream.

Enums

AttributeToken

The various HTML attributes that are directly supported by the parser.

CaseFolding

Defines the various case-folding options that the IHtmlParserContext supports.

ElementFilterAction

The various actions that the HtmlFilter function can request.

ElementToken

The various HTML elements that are directly supported by the parser.

HtmlFragmentType

ParserOptions

Controls the behavior of the HtmlStreamParser by configuring specific features.

PublicDocumentType