XmlAttribute
Represents an XML attribute
Operations
GetName
Gets the name of the attribute
method : public : GetName() ~ String
Return
Type | Description |
---|---|
String | attribute name |
GetNamespace
Gets the attribute namespace
method : public : GetNamespace() ~ String
Return
Type | Description |
---|---|
String | attribute namespace |
GetValue
Gets the attribute value
method : public : GetValue() ~ String
Return
Type | Description |
---|---|
String | attribute value |
New
Constructor
New(name:String, value:String)
Parameters
Name | Type | Description |
---|---|---|
name | String | attribute name |
value | String | attribute value |
SetName
Sets the attribute name
method : public : SetName(name:String) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
name | String | attribute name |
SetNamespace
Sets the attribute namespace
method : public : SetNamespace(namespace:String) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
namespace | String | attribute namespace |
SetValue
Sets the attribute value
method : public : SetValue(value:String) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
value | String | attribute value |