<UNIT> : Unit

Java class : leon.info.LyUnit

ROLE

The UNIT element allows to define a unit.

ATTRIBUTES

<!ATTLIST UNIT
	  id ID #REQUIRED
	  javaName NMTOKEN #IMPLIED
	  factor CDATA #IMPLIED
	  offset CDATA #IMPLIED>
Attribute Mand. Description Default
id yes Identifier of the unit.  
javaName no Java class used for the conversions. This class is dominating on the Java class associated with the dictionary of units.  
factor no Conversion factor with the reference unit (1 for the reference unit).  
offset no Conversion offset with the reference unit (0 for the reference unit).