com.inscoper.api.XMLAttribute¶
XMLAttribute class represents an attribute of an XML node. More...
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| XMLAttribute() Default constructor. |
|
| XMLAttribute(XMLAttribute node) Copy constructor. |
|
| String | asString() Get value as string. |
| int | asInt() Get value as int. |
| long | asUInt() Get value as unsigned int. |
| double | asDouble() Get value as double. |
| float | asFloat() Get value as float. |
| boolean | asBool() Get value as boolean. |
| long | asLLong() Get value as long long. |
| java.math.BigInteger | asULLong() Get value as unsigned long long. |
| int | asUShort() Get value as unsigned short. |
| short | asUChar() Get value as unsigned char. |
| char | asChar() Get value as char. |
| boolean | isEmpty() Check if attribute is empty. |
Protected Functions¶
| Name | |
|---|---|
| XMLAttribute(long cPtr, boolean cMemoryOwn) | |
| void | finalize() |
| long | getCPtr(XMLAttribute obj) |
| long | swigRelease(XMLAttribute obj) |
Protected Attributes¶
| Name | |
|---|---|
| transient boolean | swigCMemOwn |
Detailed Description¶
XMLAttribute class represents an attribute of an XML node.
This class provides methods to access the value of an XML attribute in various data types.
Public Functions Documentation¶
function delete¶
function XMLAttribute¶
Default constructor.
function XMLAttribute¶
Copy constructor.
Parameters:
- node : The XMLAttribute to copy
function asString¶
Get value as string.
Return: The string value
Retrieves the attribute value as a string.
function asInt¶
Get value as int.
Return: The int value
Retrieves the attribute value as an int.
function asUInt¶
Get value as unsigned int.
Return: The unsigned int value
Retrieves the attribute value as an unsigned int.
function asDouble¶
Get value as double.
Return: The double value
Retrieves the attribute value as a double.
function asFloat¶
Get value as float.
Return: The float value
Retrieves the attribute value as a float.
function asBool¶
Get value as boolean.
Return: The boolean value
Retrieves the attribute value as a boolean.
function asLLong¶
Get value as long long.
Return: The long long value
Retrieves the attribute value as a long long.
function asULLong¶
Get value as unsigned long long.
Return: The unsigned long long value
Retrieves the attribute value as an unsigned long long.
function asUShort¶
Get value as unsigned short.
Return: The unsigned short value
Retrieves the attribute value as an unsigned short.
function asUChar¶
Get value as unsigned char.
Return: The unsigned char value
Retrieves the attribute value as an unsigned char.
function asChar¶
Get value as char.
Return: The char value
Retrieves the attribute value as a char.
function isEmpty¶
Check if attribute is empty.
Return: True if the attribute is empty, false otherwise
Check if the attribute has no value.
Protected Functions Documentation¶
function XMLAttribute¶
function finalize¶
function getCPtr¶
function swigRelease¶
Protected Attributes Documentation¶
variable swigCMemOwn¶
Updated on 2026-09-03 at 12:14:19 +0200