LinkInfo Class

Summary: The LinkInfo node of KML format

Module: aspose.gis.formats.kml.specificfields

Full Name: aspose.gis.formats.kml.specificfields.LinkInfo

Inheritance: XmlNodeLink

Aspose.PSD Version: 25.9.0

Properties

NameTypeAccessDescription
childrenNodeLink[]rGets the children.
hrefstringr/wGets or sets the href.
name_without_prefixstringrGets the name without prefix.
node_namestringr/wGets or sets the name.
node_valuestringr/wGets or sets the value.
prefixstringrGets the prefix.

Methods

NameDescription
add_child(child)Adds the child.
as_bool()Returns value casted to the bool
as_double()Returns value casted to the double.
as_int()Returns value casted to the int.
find_nodes_by_name(name)Finds the XML nodes by the name
get_node_by_name(name)Gets the node by name. Please note, this method will return the first found Node.
Doesn’t matter in what level it will be found
get_node_content()Gets the content of the node.
get_nodes_by_name(names)Gets the all nodes with the specified name.
Doesn’t matter in what level it will be found

Method: add_child(child)

 add_child(child) 

Adds the child.

Parameters:

ParameterTypeDescription
childNodeLinkThe child.

Method: as_bool()

 as_bool() 

Returns value casted to the bool

Returns

TypeDescription
boolThe bool value of node

Method: as_double()

 as_double() 

Returns value casted to the double.

Returns

TypeDescription
doubleThe double value of node

Method: as_int()

 as_int() 

Returns value casted to the int.

Returns

TypeDescription
intThe int value of node

Method: find_nodes_by_name(name)

 find_nodes_by_name(name) 

Finds the XML nodes by the name

Parameters:

ParameterTypeDescription
namestringThe name of the node

Returns

TypeDescription
NodeLink[]Array of XML Nodes by name

Method: get_node_by_name(name)

 get_node_by_name(name) 

Gets the node by name. Please note, this method will return the first found Node.
Doesn’t matter in what level it will be found

Parameters:

ParameterTypeDescription
namestringThe name of the node you want to find.

Returns

TypeDescription
NodeLinkThe found node with NodeLink API

Method: get_node_content()

 get_node_content() 

Gets the content of the node.

Returns

TypeDescription
stringThe content of node

Method: get_nodes_by_name(names)

 get_nodes_by_name(names) 

Gets the all nodes with the specified name.
Doesn’t matter in what level it will be found

Parameters:

ParameterTypeDescription
namesstringThe names.

Returns

TypeDescription
NodeLink[]The array of found nodes.