CharacterReferenceImpl Class

The default implementation of a character reference Node.

C#
public sealed class CharacterReferenceImpl : AbstractNode, Node
Inheritance
CharacterReferenceImpl
Implements

Constructors

CharacterReferenceImpl(string)

Initializes a new instance of the CharacterReferenceImpl class.

CharacterReferenceImpl(int)

Initializes a new instance of the CharacterReferenceImpl class.

Properties

Kind (Inherited from AbstractNode)

Methods

Accept(NodeVisitor)

Description copied from class: AbstractNode

Description copied from interface: Node

Returns the object associated this node that is created with the specified visitor.

GetKind()

Description copied from class: AbstractNode

Gets the kind of this node.

Accept(NodeVisitor)

Description copied from interface: Node

Returns the object associated this node that is created with the specified visitor.

(Inherited from AbstractNode)
ToString() (Inherited from AbstractNode)
ToString(FormatOptions)

Description copied from interface: Node

Returns the string representing the current object, formatting it with the spcified FormatOptions.

(Inherited from AbstractNode)
GetKind()

Gets the kind of this node.

(Inherited from AbstractNode)
Equals(object) (Inherited from object)
GetHashCode() (Inherited from object)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)

Constructors Detail

CharacterReferenceImpl(string)

Initializes a new instance of the CharacterReferenceImpl class.

C#
public CharacterReferenceImpl(string text)

Parameters

text
string

The text representings the character reference of this node.

CharacterReferenceImpl(int)

Initializes a new instance of the CharacterReferenceImpl class.

C#
public CharacterReferenceImpl(int codePoint)

Parameters

codePoint
int

The code point.

Methods Detail

Accept(NodeVisitor)

Description copied from class: AbstractNode

Description copied from interface: Node

Returns the object associated this node that is created with the specified visitor.

C#
public override void Accept(NodeVisitor visitor)

Parameters

visitor
NodeVisitor

Implements

See Also

    Description copied from class: AbstractNode

    Description copied from interface: Node

  • NodeVisitor

GetKind()

Description copied from class: AbstractNode

Gets the kind of this node.

C#
protected override NodeKind GetKind()

Returns

Description copied from class: AbstractNode

The kind of this node.