XmlAttribute

Overview

XML node to hold an XML attribute (a='test')

Location

  • Reference:
    • Elements.dll  .NET, .NET Core 6.0, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
  • Ancestry: XmlNode | XmlAttribute

 

constructor    (declared in XmlNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

 

constructor

 

XmlAttribute()

 

init()

 

XmlAttribute()

 

Sub New()

constructor init()    (declared in XmlNode) Toffee

 

init(init )

Parameters:

  • :

constructor (not nullable String, nullable XmlNamespace, not nullable String)

 

constructor(aLocalName: not nullable String; aNamespace: nullable XmlNamespace; aValue: not nullable String)

 

XmlAttribute(String! aLocalName, XmlNamespace? aNamespace, String! aValue)

 

// Toffee
init(_ aLocalName: String, _ aNamespace: XmlNamespace, _ aValue: String)
// ToffeeV2
init(_ aLocalName: String, _ aNamespace: XmlNamespace?, _ aValue: String)

 

XmlAttribute(String aLocalName, XmlNamespace aNamespace, String aValue)

 

Sub New(aLocalName As String, aNamespace As XmlNamespace?, aValue As String)

Parameters:

  • aLocalName:
  • aNamespace:
  • aValue:

constructor withParent(XmlElement): InstanceType

Create a new xml attribute, and add it to the parent node.

 

constructor withParent(aParent: XmlElement)

 

XmlAttribute withParent(XmlElement aParent)

 

init(withParent aParent: XmlElement)

 

XmlAttribute withParent(XmlElement aParent)

 

Sub New withParent(aParent As XmlElement)

Parameters:

  • aParent:

description  override Toffee

 

func description(description ) -> NSString

Parameters:

  • :

Document    (declared in XmlNode)

Gets the document this node is in.

 

property Document: nullable XmlDocument read write;

 

XmlDocument? Document { get; set; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Document: XmlDocument? { get{} set{} }
// Toffee
var Document: XmlDocument { get{} set{} }

 

XmlDocument Document { __get; __set; }

 

Property Document() As XmlDocument?

FullName

Returns the full name of the attribute, including namespace if present.

 

property FullName: not nullable String read;

 

String! FullName { get; }

 

var FullName: String { get{} }

 

String FullName { __get; }

 

ReadOnly Property FullName() As String

LocalName

Returns the local name of this attribute without namespace.

 

property LocalName: not nullable String read write;

 

String! LocalName { get; set; }

 

var LocalName: String { get{} set{} }

 

String LocalName { __get; __set; }

 

Property LocalName() As String

Namespace

Returns the namespace for this attribute.

 

property Namespace: XmlNamespace read write;

 

XmlNamespace Namespace { get; set; }

 

var Namespace: XmlNamespace { get{} set{} }

 

XmlNamespace Namespace { __get; __set; }

 

Property Namespace() As XmlNamespace

NodeRange    (declared in XmlNode)

Returns the original range of this node during parsing.

 

property NodeRange: XmlRange read write;

 

XmlRange NodeRange { get; set; }

 

var NodeRange: XmlRange { get{} set{} }

 

XmlRange NodeRange { __get; __set; }

 

Property NodeRange() As XmlRange

NodeType    (declared in XmlNode)

Contains the type of this node.

 

property NodeType: XmlNodeType read;

 

XmlNodeType NodeType { get; }

 

var NodeType: XmlNodeType { get{} }

 

XmlNodeType NodeType { __get; }

 

ReadOnly Property NodeType() As XmlNodeType

Parent    (declared in XmlNode)

Returns the parent element.

 

property Parent: nullable XmlElement read;

 

XmlElement? Parent { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Parent: XmlElement? { get{} }
// Toffee
var Parent: XmlElement { get{} }

 

XmlElement Parent { __get; }

 

ReadOnly Property Parent() As XmlElement?

toString Cooper

 

method toString: PlatformString

 

PlatformString toString()

 

func toString() -> PlatformString

 

PlatformString toString()

 

Function toString() As PlatformString

ToString  override .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2

Gets this attribute as string.

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

Gets this attribute as string.

 

method ToString(aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String

 

String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

func ToString(_ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String

 

String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

Function ToString(aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String

Parameters:

  • aFormatInsideTags:
  • aFormatOptions:

ToString (Boolean, Boolean, XmlFormattingOptions): String  virtual    (declared in XmlNode)

Convert this node to a string.

 

method ToString(aSaveFormatted: Boolean; aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String

 

String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

func ToString(_ aSaveFormatted: Boolean, _ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String

 

String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

Function ToString(aSaveFormatted As Boolean, aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String

Parameters:

  • aSaveFormatted:
  • aFormatInsideTags:
  • aFormatOptions:

ToString ToString(): String  override Toffee

 

func ToString(ToString ) -> String

Parameters:

  • :

UniqueCopy  override .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Clone this node.

 

method UniqueCopy: not nullable XmlNode

 

XmlNode! UniqueCopy()

 

func UniqueCopy() -> XmlNode

 

XmlNode UniqueCopy()

 

Function UniqueCopy() As XmlNode

UniqueCopy UniqueCopy(): not nullable XmlNode  override Toffee

 

func UniqueCopy(UniqueCopy ) -> XmlNode

Parameters:

  • :

Value

Returns the value of this tatribute.

 

property Value: not nullable String read write;

 

String! Value { get; set; }

 

var Value: String { get{} set{} }

 

String Value { __get; __set; }

 

Property Value() As String

ValueRange

Returns the position in the file from parsing.

 

property ValueRange: XmlRange read write;

 

XmlRange ValueRange { get; set; }

 

var ValueRange: XmlRange { get{} set{} }

 

XmlRange ValueRange { __get; __set; }

 

Property ValueRange() As XmlRange

 

Document    (declared in XmlNode)

Gets the document this node is in.

 

property Document: nullable XmlDocument read write;

 

XmlDocument? Document { get; set; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Document: XmlDocument? { get{} set{} }
// Toffee
var Document: XmlDocument { get{} set{} }

 

XmlDocument Document { __get; __set; }

 

Property Document() As XmlDocument?

FullName

Returns the full name of the attribute, including namespace if present.

 

property FullName: not nullable String read;

 

String! FullName { get; }

 

var FullName: String { get{} }

 

String FullName { __get; }

 

ReadOnly Property FullName() As String

LocalName

Returns the local name of this attribute without namespace.

 

property LocalName: not nullable String read write;

 

String! LocalName { get; set; }

 

var LocalName: String { get{} set{} }

 

String LocalName { __get; __set; }

 

Property LocalName() As String

Namespace

Returns the namespace for this attribute.

 

property Namespace: XmlNamespace read write;

 

XmlNamespace Namespace { get; set; }

 

var Namespace: XmlNamespace { get{} set{} }

 

XmlNamespace Namespace { __get; __set; }

 

Property Namespace() As XmlNamespace

NodeRange    (declared in XmlNode)

Returns the original range of this node during parsing.

 

property NodeRange: XmlRange read write;

 

XmlRange NodeRange { get; set; }

 

var NodeRange: XmlRange { get{} set{} }

 

XmlRange NodeRange { __get; __set; }

 

Property NodeRange() As XmlRange

NodeType    (declared in XmlNode)

Contains the type of this node.

 

property NodeType: XmlNodeType read;

 

XmlNodeType NodeType { get; }

 

var NodeType: XmlNodeType { get{} }

 

XmlNodeType NodeType { __get; }

 

ReadOnly Property NodeType() As XmlNodeType

Parent    (declared in XmlNode)

Returns the parent element.

 

property Parent: nullable XmlElement read;

 

XmlElement? Parent { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Parent: XmlElement? { get{} }
// Toffee
var Parent: XmlElement { get{} }

 

XmlElement Parent { __get; }

 

ReadOnly Property Parent() As XmlElement?

Value

Returns the value of this tatribute.

 

property Value: not nullable String read write;

 

String! Value { get; set; }

 

var Value: String { get{} set{} }

 

String Value { __get; __set; }

 

Property Value() As String

ValueRange

Returns the position in the file from parsing.

 

property ValueRange: XmlRange read write;

 

XmlRange ValueRange { get; set; }

 

var ValueRange: XmlRange { get{} set{} }

 

XmlRange ValueRange { __get; __set; }

 

Property ValueRange() As XmlRange

 

constructor    (declared in XmlNode) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

 

constructor

 

XmlAttribute()

 

init()

 

XmlAttribute()

 

Sub New()

constructor init()    (declared in XmlNode) Toffee

 

init(init )

Parameters:

  • :

constructor (not nullable String, nullable XmlNamespace, not nullable String)

 

constructor(aLocalName: not nullable String; aNamespace: nullable XmlNamespace; aValue: not nullable String)

 

XmlAttribute(String! aLocalName, XmlNamespace? aNamespace, String! aValue)

 

// Toffee
init(_ aLocalName: String, _ aNamespace: XmlNamespace, _ aValue: String)
// ToffeeV2
init(_ aLocalName: String, _ aNamespace: XmlNamespace?, _ aValue: String)

 

XmlAttribute(String aLocalName, XmlNamespace aNamespace, String aValue)

 

Sub New(aLocalName As String, aNamespace As XmlNamespace?, aValue As String)

Parameters:

  • aLocalName:
  • aNamespace:
  • aValue:

constructor withParent(XmlElement): InstanceType

Create a new xml attribute, and add it to the parent node.

 

constructor withParent(aParent: XmlElement)

 

XmlAttribute withParent(XmlElement aParent)

 

init(withParent aParent: XmlElement)

 

XmlAttribute withParent(XmlElement aParent)

 

Sub New withParent(aParent As XmlElement)

Parameters:

  • aParent:

description  override Toffee

 

func description(description ) -> NSString

Parameters:

  • :

toString Cooper

 

method toString: PlatformString

 

PlatformString toString()

 

func toString() -> PlatformString

 

PlatformString toString()

 

Function toString() As PlatformString

ToString  override .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2

Gets this attribute as string.

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

Gets this attribute as string.

 

method ToString(aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String

 

String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

func ToString(_ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String

 

String ToString(Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

Function ToString(aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String

Parameters:

  • aFormatInsideTags:
  • aFormatOptions:

ToString (Boolean, Boolean, XmlFormattingOptions): String  virtual    (declared in XmlNode)

Convert this node to a string.

 

method ToString(aSaveFormatted: Boolean; aFormatInsideTags: Boolean; aFormatOptions: XmlFormattingOptions): String

 

String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

func ToString(_ aSaveFormatted: Boolean, _ aFormatInsideTags: Boolean, _ aFormatOptions: XmlFormattingOptions) -> String

 

String ToString(Boolean aSaveFormatted, Boolean aFormatInsideTags, XmlFormattingOptions aFormatOptions)

 

Function ToString(aSaveFormatted As Boolean, aFormatInsideTags As Boolean, aFormatOptions As XmlFormattingOptions) As String

Parameters:

  • aSaveFormatted:
  • aFormatInsideTags:
  • aFormatOptions:

ToString ToString(): String  override Toffee

 

func ToString(ToString ) -> String

Parameters:

  • :

UniqueCopy  override .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Clone this node.

 

method UniqueCopy: not nullable XmlNode

 

XmlNode! UniqueCopy()

 

func UniqueCopy() -> XmlNode

 

XmlNode UniqueCopy()

 

Function UniqueCopy() As XmlNode

UniqueCopy UniqueCopy(): not nullable XmlNode  override Toffee

 

func UniqueCopy(UniqueCopy ) -> XmlNode

Parameters:

  • :