In This Article

XmlTokenId Class

Contains the token IDs for the XML language.

public class XmlTokenId : TokenIdProviderBase, ITokenIdProvider, IIdProvider
Inheritance:
object TokenIdProviderBase object
Implements:
ITokenIdProvider 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

XmlTokenId()

Initializes an instance of the class.

public XmlTokenId()

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

IsXmlAttributeClassificationType(int)

Returns whether the specified ID value is part of the XmlAttribute classification type.

public static bool IsXmlAttributeClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlAttributeValueClassificationType(int)

Returns whether the specified ID value is part of the XmlAttributeValue classification type.

public static bool IsXmlAttributeValueClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlCDataSectionClassificationType(int)

Returns whether the specified ID value is part of the XmlCDataSection classification type.

public static bool IsXmlCDataSectionClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlCommentClassificationType(int)

Returns whether the specified ID value is part of the XmlComment classification type.

public static bool IsXmlCommentClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlDeclarationClassificationType(int)

Returns whether the specified ID value is part of the XmlDeclaration classification type.

public static bool IsXmlDeclarationClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlDelimiterClassificationType(int)

Returns whether the specified ID value is part of the XmlDelimiter classification type.

public static bool IsXmlDelimiterClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlEntityClassificationType(int)

Returns whether the specified ID value is part of the XmlEntity classification type.

public static bool IsXmlEntityClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlNameClassificationType(int)

Returns whether the specified ID value is part of the XmlName classification type.

public static bool IsXmlNameClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsXmlProcessingInstructionClassificationType(int)

Returns whether the specified ID value is part of the XmlProcessingInstruction classification type.

public static bool IsXmlProcessingInstructionClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

Fields

CDataSectionEndDelimiter

The CDataSectionEndDelimiter token ID.

public const int CDataSectionEndDelimiter = 12029

CDataSectionStartDelimiter

The CDataSectionStartDelimiter token ID.

public const int CDataSectionStartDelimiter = 12028

CDataSectionText

The CDataSectionText token ID.

public const int CDataSectionText = 12027

CommentEndDelimiter

The CommentEndDelimiter token ID.

public const int CommentEndDelimiter = 12020

CommentStartDelimiter

The CommentStartDelimiter token ID.

public const int CommentStartDelimiter = 12019

CommentText

The CommentText token ID.

public const int CommentText = 12018

DeclarationEndDelimiter

The DeclarationEndDelimiter token ID.

public const int DeclarationEndDelimiter = 12026

DeclarationStartDelimiter

The DeclarationStartDelimiter token ID.

public const int DeclarationStartDelimiter = 12025

DeclarationText

The DeclarationText token ID.

public const int DeclarationText = 12024

Default

The Default token ID.

public const int Default = 12000

DocTypeDeclarationEndDelimiter

The DocTypeDeclarationEndDelimiter token ID.

public const int DocTypeDeclarationEndDelimiter = 12031

DocTypeDeclarationInternalSubsetEndDelimiter

The DocTypeDeclarationInternalSubsetEndDelimiter token ID.

public const int DocTypeDeclarationInternalSubsetEndDelimiter = 12034

DocTypeDeclarationInternalSubsetStartDelimiter

The DocTypeDeclarationInternalSubsetStartDelimiter token ID.

public const int DocTypeDeclarationInternalSubsetStartDelimiter = 12033

DocTypeDeclarationInternalSubsetText

The DocTypeDeclarationInternalSubsetText token ID.

public const int DocTypeDeclarationInternalSubsetText = 12032

DocTypeDeclarationStartDelimiter

The DocTypeDeclarationStartDelimiter token ID.

public const int DocTypeDeclarationStartDelimiter = 12030

EndTagEndDelimiter

The EndTagEndDelimiter token ID.

public const int EndTagEndDelimiter = 12017

EndTagStartDelimiter

The EndTagStartDelimiter token ID.

public const int EndTagStartDelimiter = 12016

EndTagText

The EndTagText token ID.

public const int EndTagText = 12015

Entity

The Entity token ID.

public const int Entity = 12001

Identifier

The Identifier token ID.

public const int Identifier = 12002

InvalidEndTagStartDelimiter

The InvalidEndTagStartDelimiter token ID.

public const int InvalidEndTagStartDelimiter = 12004

InvalidStartTagStartDelimiter

The InvalidStartTagStartDelimiter token ID.

public const int InvalidStartTagStartDelimiter = 12005

ProcessingInstructionEndDelimiter

The ProcessingInstructionEndDelimiter token ID.

public const int ProcessingInstructionEndDelimiter = 12023

ProcessingInstructionStartDelimiter

The ProcessingInstructionStartDelimiter token ID.

public const int ProcessingInstructionStartDelimiter = 12022

ProcessingInstructionText

The ProcessingInstructionText token ID.

public const int ProcessingInstructionText = 12021

StartTagAttributeName

The StartTagAttributeName token ID.

public const int StartTagAttributeName = 12010

StartTagAttributeValueEndDelimiter

The StartTagAttributeValueEndDelimiter token ID.

public const int StartTagAttributeValueEndDelimiter = 12014

StartTagAttributeValueStartDelimiter

The StartTagAttributeValueStartDelimiter token ID.

public const int StartTagAttributeValueStartDelimiter = 12013

StartTagAttributeValueText

The StartTagAttributeValueText token ID.

public const int StartTagAttributeValueText = 12012

StartTagEndDelimiter

The StartTagEndDelimiter token ID.

public const int StartTagEndDelimiter = 12008

StartTagName

The StartTagName token ID.

public const int StartTagName = 12009

StartTagNextTagStartDelimiter

The StartTagNextTagStartDelimiter token ID.

public const int StartTagNextTagStartDelimiter = 12011

StartTagStartDelimiter

The StartTagStartDelimiter token ID.

public const int StartTagStartDelimiter = 12007

StartTagText

The StartTagText token ID.

public const int StartTagText = 12006

Whitespace

The Whitespace token ID.

public const int Whitespace = 12003

Inherited Members

Extension Methods