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.

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

Specialized string comparison class used to find a string match in a continous stream of characters. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

SpecialInstructionFragment

Represents a HTML fragment that has a leading <! character sequence, but is not a comment/DOCTYPE/CDATA. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

StringNode<T>

A node for the string tokenizer tree. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

StringSource

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

StringToken<T>

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

StringToken<T>.TokenResult

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

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