Difference between revisions of "Extensions.Xml.XmlElement"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Data Type '''XmlElement'''}}Category:DataTypeCategory:Xml == Classification == {{ClassificationDataType | XmlElement | UPDATING... | Core.DataTypes.Co...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Data Type '''XmlElement'''}}[[Category:DataType]][[Category:Xml]]
 
{{DISPLAYTITLE:Data Type '''XmlElement'''}}[[Category:DataType]][[Category:Xml]]
 
== Classification ==
 
== Classification ==
{{ClassificationDataType | XmlElement | UPDATING... | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | - }}
+
{{ClassificationDataType | XmlElement | Represents an XML element | [[Core.DataTypes.ComplexDataType|Complex Data Type]] |[[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]]}}
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
A '''XmlElement ''' represents an '''XML''' element.
A '''BlackBox''' is a boxing type. It serves as a transport or base data type which can help the OTX unknown types pass through the code layers.
 
  
 
{{ConversionTable |
 
{{ConversionTable |
Boolean=Returns the Boolean counterpart of the argument term | BooleanSample=<tt>Boolean b = ToBoolean(blackBoxVariable); // Returns true/false/TypeMismatchException</tt> |
+
String=Returns the XML String of the XML element | StringSample=<tt>String s = ToString(XmlElementVariable); // Returns "<child1>child1 text</child1>" |
Integer=Returns the Integer counterpart of the argument term | IntegerSample=<tt>Integer i = ToInteger(blackBoxVariable); // Returns integer value/TypeMismatchException</tt> |
 
Float=Returns the Float counterpart of the argument term | FloatSample=<tt>Float f = ToFloat(blackBoxVariable); // Returns float value/TypeMismatchException</tt> |
 
String=Returns the String counterpart of the argument term | StringSample=<tt>String s = ToString(blackBoxVariable); // Returns string value/TypeMismatchException</tt> |
 
ByteField=Returns the ByteField counterpart of the argument term | ByteFieldSample=<tt>ByteField bf = ToString(blackBoxVariable); // Returns byteField value/TypeMismatchException</tt>
 
 
}}
 
}}
-->
+
 
 +
==Sample==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
Xml.XmlElement XmlElementVariable;
 +
</syntaxhighlight>

Latest revision as of 09:42, 22 October 2018

Classification

Name XmlElement
Short Description Represents an XML element
Class Complex Data Type
Base Data Type ComplexType
Default Value Empty
Provide a Literal No
SpecifiedBy ISO 13209-3
Standard Compliant Yes

Description

A XmlElement represents an XML element.

Core Conversion

The following table shows the rules for conversion to another data type:

Conversion Result Sample
ToBoolean Undefined (should not be used)
ToInteger Undefined (should not be used)
ToFloat Undefined (should not be used)
ToString Returns the XML String of the XML element String s = ToString(XmlElementVariable); // Returns "<child1>child1 text</child1>"
ToByteField Undefined (should not be used)

Sample

Xml.XmlElement XmlElementVariable;