Skip to content

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

public class com.inscoper.api.XMLAttribute;

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

public synchronized void delete()

function XMLAttribute

public XMLAttribute()

Default constructor.

function XMLAttribute

public XMLAttribute(
    XMLAttribute node
)

Copy constructor.

Parameters:

function asString

public String asString()

Get value as string.

Return: The string value

Retrieves the attribute value as a string.

function asInt

public int asInt()

Get value as int.

Return: The int value

Retrieves the attribute value as an int.

function asUInt

public long asUInt()

Get value as unsigned int.

Return: The unsigned int value

Retrieves the attribute value as an unsigned int.

function asDouble

public double asDouble()

Get value as double.

Return: The double value

Retrieves the attribute value as a double.

function asFloat

public float asFloat()

Get value as float.

Return: The float value

Retrieves the attribute value as a float.

function asBool

public boolean asBool()

Get value as boolean.

Return: The boolean value

Retrieves the attribute value as a boolean.

function asLLong

public long asLLong()

Get value as long long.

Return: The long long value

Retrieves the attribute value as a long long.

function asULLong

public java.math.BigInteger asULLong()

Get value as unsigned long long.

Return: The unsigned long long value

Retrieves the attribute value as an unsigned long long.

function asUShort

public int asUShort()

Get value as unsigned short.

Return: The unsigned short value

Retrieves the attribute value as an unsigned short.

function asUChar

public short asUChar()

Get value as unsigned char.

Return: The unsigned char value

Retrieves the attribute value as an unsigned char.

function asChar

public char asChar()

Get value as char.

Return: The char value

Retrieves the attribute value as a char.

function isEmpty

public boolean 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

protected XMLAttribute(
    long cPtr,
    boolean cMemoryOwn
)

function finalize

protected void finalize()

function getCPtr

protected static long getCPtr(
    XMLAttribute obj
)

function swigRelease

protected static long swigRelease(
    XMLAttribute obj
)

Protected Attributes Documentation

variable swigCMemOwn

transient boolean swigCMemOwn;

Updated on 2026-09-03 at 12:14:19 +0200