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 v14.2.611.0 (http://www.actiprosoftware.com). Generated code is based on input created by Actipro Software LLC. Copyright (c) 2001-2025 Actipro Software LLC. All rights reserved.
Constructors
XmlTokenId()
Initializes an instance of the class.
public XmlTokenId()
Properties
MaxId
Gets the maximum token ID returned by this provider.
public override int MaxId { get; }
Property Value
- int:
The maximum token ID returned by this provider.
MinId
Gets the minimum token ID returned by this provider.
public override int MinId { get; }
Property Value
- int:
The minimum token ID returned by this provider.
Methods
ContainsId(int)
Returns whether the specified ID value is valid for this token ID provider.
public override bool ContainsId(int id)
Parameter | Type | Description |
---|---|---|
id | int | The token ID to examine. |
Returns
- bool:
true
if the ID value is valid; otherwise,false
GetDescription(int)
Returns the actual string representation for the specified token ID.
public override string GetDescription(int id)
Parameter | Type | Description |
---|---|---|
id | int | The token ID to examine. |
Returns
- string:
The actual string representation for the specified token ID.
GetKey(int)
Returns the string-based key for the specified token ID.
public override string GetKey(int id)
Parameter | Type | Description |
---|---|---|
id | int | The token ID to examine. |
Returns
- string:
The string-based key for the specified token ID.
IsXmlAttributeClassificationType(int)
Returns whether the specified ID value is part of the XmlAttribute
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
Gets the CDataSectionEndDelimiter
token ID.
public const int CDataSectionEndDelimiter = 12029
CDataSectionStartDelimiter
Gets the CDataSectionStartDelimiter
token ID.
public const int CDataSectionStartDelimiter = 12028
CDataSectionText
Gets the CDataSectionText
token ID.
public const int CDataSectionText = 12027
CommentEndDelimiter
Gets the CommentEndDelimiter
token ID.
public const int CommentEndDelimiter = 12020
CommentStartDelimiter
Gets the CommentStartDelimiter
token ID.
public const int CommentStartDelimiter = 12019
CommentText
Gets the CommentText
token ID.
public const int CommentText = 12018
DeclarationEndDelimiter
Gets the DeclarationEndDelimiter
token ID.
public const int DeclarationEndDelimiter = 12026
DeclarationStartDelimiter
Gets the DeclarationStartDelimiter
token ID.
public const int DeclarationStartDelimiter = 12025
DeclarationText
Gets the DeclarationText
token ID.
public const int DeclarationText = 12024
Default
Gets the Default
token ID.
public const int Default = 12000
DocTypeDeclarationEndDelimiter
Gets the DocTypeDeclarationEndDelimiter
token ID.
public const int DocTypeDeclarationEndDelimiter = 12031
DocTypeDeclarationInternalSubsetEndDelimiter
Gets the DocTypeDeclarationInternalSubsetEndDelimiter
token ID.
public const int DocTypeDeclarationInternalSubsetEndDelimiter = 12034
DocTypeDeclarationInternalSubsetStartDelimiter
Gets the DocTypeDeclarationInternalSubsetStartDelimiter
token ID.
public const int DocTypeDeclarationInternalSubsetStartDelimiter = 12033
DocTypeDeclarationInternalSubsetText
Gets the DocTypeDeclarationInternalSubsetText
token ID.
public const int DocTypeDeclarationInternalSubsetText = 12032
DocTypeDeclarationStartDelimiter
Gets the DocTypeDeclarationStartDelimiter
token ID.
public const int DocTypeDeclarationStartDelimiter = 12030
EndTagEndDelimiter
Gets the EndTagEndDelimiter
token ID.
public const int EndTagEndDelimiter = 12017
EndTagStartDelimiter
Gets the EndTagStartDelimiter
token ID.
public const int EndTagStartDelimiter = 12016
EndTagText
Gets the EndTagText
token ID.
public const int EndTagText = 12015
Entity
Gets the Entity
token ID.
public const int Entity = 12001
Identifier
Gets the Identifier
token ID.
public const int Identifier = 12002
InvalidEndTagStartDelimiter
Gets the InvalidEndTagStartDelimiter
token ID.
public const int InvalidEndTagStartDelimiter = 12004
InvalidStartTagStartDelimiter
Gets the InvalidStartTagStartDelimiter
token ID.
public const int InvalidStartTagStartDelimiter = 12005
ProcessingInstructionEndDelimiter
Gets the ProcessingInstructionEndDelimiter
token ID.
public const int ProcessingInstructionEndDelimiter = 12023
ProcessingInstructionStartDelimiter
Gets the ProcessingInstructionStartDelimiter
token ID.
public const int ProcessingInstructionStartDelimiter = 12022
ProcessingInstructionText
Gets the ProcessingInstructionText
token ID.
public const int ProcessingInstructionText = 12021
StartTagAttributeName
Gets the StartTagAttributeName
token ID.
public const int StartTagAttributeName = 12010
StartTagAttributeValueEndDelimiter
Gets the StartTagAttributeValueEndDelimiter
token ID.
public const int StartTagAttributeValueEndDelimiter = 12014
StartTagAttributeValueStartDelimiter
Gets the StartTagAttributeValueStartDelimiter
token ID.
public const int StartTagAttributeValueStartDelimiter = 12013
StartTagAttributeValueText
Gets the StartTagAttributeValueText
token ID.
public const int StartTagAttributeValueText = 12012
StartTagEndDelimiter
Gets the StartTagEndDelimiter
token ID.
public const int StartTagEndDelimiter = 12008
StartTagName
Gets the StartTagName
token ID.
public const int StartTagName = 12009
StartTagNextTagStartDelimiter
Gets the StartTagNextTagStartDelimiter
token ID.
public const int StartTagNextTagStartDelimiter = 12011
StartTagStartDelimiter
Gets the StartTagStartDelimiter
token ID.
public const int StartTagStartDelimiter = 12007
StartTagText
Gets the StartTagText
token ID.
public const int StartTagText = 12006
Whitespace
Gets the Whitespace
token ID.
public const int Whitespace = 12003