In This Article

XmlLexicalStateId Class

Contains the lexical state IDs for the XML language.

public class XmlLexicalStateId : LexicalStateIdProviderBase, ILexicalStateIdProvider, IIdProvider
Inheritance:
object LexicalStateIdProviderBase object
Implements:
ILexicalStateIdProvider IIdProvider

Remarks

This type was generated by the Actipro Language Designer tool v26.1.0.0 (http://www.actiprosoftware.com). Generated code is based on input created by Actipro Software LLC. Copyright (c) 2001-2026 Actipro Software LLC. All rights reserved.

Constructors

XmlLexicalStateId()

Initializes an instance of the class.

public XmlLexicalStateId()

Properties

MaxId

The maximum ID returned by this provider.

public override int MaxId { get; }

Property Value

int

MinId

The minimum ID returned by this provider.

public override int MinId { get; }

Property Value

int

Methods

ContainsId(int)

Returns whether the specified ID value is valid for this ID provider.

public override bool ContainsId(int id)
Parameter Type Description
id int

The ID to examine.

Returns

bool:

true if the ID value is valid; otherwise, false

GetDescription(int)

Returns the actual string representation for the specified ID.

public override string? GetDescription(int id)
Parameter Type Description
id int

The ID to examine.

Returns

string

GetKey(int)

Returns the string-based key for the specified ID.

public override string? GetKey(int id)
Parameter Type Description
id int

The ID to examine.

Returns

string

Fields

CDataSection

The CDataSection lexical state ID.

public const int CDataSection = 9

Comment

The Comment lexical state ID.

public const int Comment = 6

Declaration

The Declaration lexical state ID.

public const int Declaration = 8

Default

The Default lexical state ID.

public const int Default = 1

DocTypeDeclaration

The DocTypeDeclaration lexical state ID.

public const int DocTypeDeclaration = 10

DocTypeDeclarationInternalSubset

The DocTypeDeclarationInternalSubset lexical state ID.

public const int DocTypeDeclarationInternalSubset = 11

EndTag

The EndTag lexical state ID.

public const int EndTag = 5

ProcessingInstruction

The ProcessingInstruction lexical state ID.

public const int ProcessingInstruction = 7

StartTag

The StartTag lexical state ID.

public const int StartTag = 2

StartTagAttributeDoubleQuoteValue

The StartTagAttributeDoubleQuoteValue lexical state ID.

public const int StartTagAttributeDoubleQuoteValue = 3

StartTagAttributeSingleQuoteValue

The StartTagAttributeSingleQuoteValue lexical state ID.

public const int StartTagAttributeSingleQuoteValue = 4

Inherited Members

Extension Methods