complexType NumberToStringType
diagram SpaceSystemV1.2-27Feb2014-mods_p303.png
namespace http://www.omg.org/space/xtce
type extension of xtce:OptionalNameDescriptionType
properties
base xtce:OptionalNameDescriptionType
children xtce:LongDescription xtce:AliasSet xtce:AncillaryDataSet xtce:ValueEnumeration xtce:RangeEnumeration xtce:NumberFormat
used by
element NumericDataType/ToString
attributes
Name  Type  Use  Default  Fixed  Annotation
shortDescription  string  optional      
documentation
It is strongly recommended that the short description be kept under 80 characters in length
name  xtce:NameType  optional      
annotation
documentation
There are two ways numeric data can be changed to string data: using a Java style NumberFormat, or using an enumerated list.   Enumerated lists can be assigned to a single value or a value range.
source <complexType name="NumberToStringType">
 
<annotation>
   
<documentation xml:lang="en">There are two ways numeric data can be changed to string data: using a Java style NumberFormat, or using an enumerated list.   Enumerated lists can be assigned to a single value or a value range.</documentation>
 
</annotation>
 
<complexContent>
   
<extension base="xtce:OptionalNameDescriptionType">
     
<choice>
       
<choice maxOccurs="unbounded">
         
<element name="ValueEnumeration" type="xtce:ValueEnumerationType">
           
<annotation>
             
<documentation xml:lang="en">A number or range assigned to a string.</documentation>
           
</annotation>
         
</element>
         
<element name="RangeEnumeration" type="xtce:FloatEnumerationRangeType">
           
<annotation>
             
<documentation xml:lang="en">A string value associated with a numerical range.</documentation>
           
</annotation>
         
</element>
       
</choice>
       
<element name="NumberFormat">
         
<complexType>
           
<attribute name="numberBase" type="xtce:RadixType" use="optional" default="Decimal"/>
           
<attribute name="minimumFractionDigits" type="nonNegativeInteger" use="optional"/>
           
<attribute name="maximumFractionDigits" type="nonNegativeInteger" use="optional"/>
           
<attribute name="minimumIntegerDigits" type="nonNegativeInteger" use="optional"/>
           
<attribute name="maximumIntegerDigits" type="nonNegativeInteger" use="optional"/>
           
<attribute name="negativeSuffix" type="string" use="optional"/>
           
<attribute name="positiveSuffix" type="string" use="optional"/>
           
<attribute name="negativePrefix" type="string" use="optional" default="-"/>
           
<attribute name="positivePrefix" type="string" use="optional"/>
           
<attribute name="showThousandsGrouping" type="boolean" use="optional" default="true"/>
           
<attribute name="notation" use="optional" default="normal">
             
<simpleType>
               
<restriction base="string">
                 
<enumeration value="normal"/>
                 
<enumeration value="scientific"/>
                 
<enumeration value="engineering"/>
               
</restriction>
             
</simpleType>
           
</attribute>
         
</complexType>
       
</element>
     
</choice>
   
</extension>
 
</complexContent>
</complexType>

element NumberToStringType/ValueEnumeration
diagram SpaceSystemV1.2-27Feb2014-mods_p304.png
namespace http://www.omg.org/space/xtce
type xtce:ValueEnumerationType
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
shortDescription  string        
value  integer  required      
maxValue  integer  optional      
label  string  required      
annotation
documentation
A number or range assigned to a string.
source <element name="ValueEnumeration" type="xtce:ValueEnumerationType">
 
<annotation>
   
<documentation xml:lang="en">A number or range assigned to a string.</documentation>
 
</annotation>
</element>

element NumberToStringType/RangeEnumeration
diagram SpaceSystemV1.2-27Feb2014-mods_p305.png
namespace http://www.omg.org/space/xtce
type xtce:FloatEnumerationRangeType
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
minInclusive  double        
minExclusive  double        
maxInclusive  double        
maxExclusive  double        
label  string  required      
annotation
documentation
A string value associated with a numerical range.
source <element name="RangeEnumeration" type="xtce:FloatEnumerationRangeType">
 
<annotation>
   
<documentation xml:lang="en">A string value associated with a numerical range.</documentation>
 
</annotation>
</element>

element NumberToStringType/NumberFormat
diagram SpaceSystemV1.2-27Feb2014-mods_p306.png
namespace http://www.omg.org/space/xtce
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
numberBase  xtce:RadixType  optional  Decimal    
minimumFractionDigits  nonNegativeInteger  optional      
maximumFractionDigits  nonNegativeInteger  optional      
minimumIntegerDigits  nonNegativeInteger  optional      
maximumIntegerDigits  nonNegativeInteger  optional      
negativeSuffix  string  optional      
positiveSuffix  string  optional      
negativePrefix  string  optional  -    
positivePrefix  string  optional      
showThousandsGrouping  boolean  optional  true    
notation  derived by: string  optional  normal    
source <element name="NumberFormat">
 
<complexType>
   
<attribute name="numberBase" type="xtce:RadixType" use="optional" default="Decimal"/>
   
<attribute name="minimumFractionDigits" type="nonNegativeInteger" use="optional"/>
   
<attribute name="maximumFractionDigits" type="nonNegativeInteger" use="optional"/>
   
<attribute name="minimumIntegerDigits" type="nonNegativeInteger" use="optional"/>
   
<attribute name="maximumIntegerDigits" type="nonNegativeInteger" use="optional"/>
   
<attribute name="negativeSuffix" type="string" use="optional"/>
   
<attribute name="positiveSuffix" type="string" use="optional"/>
   
<attribute name="negativePrefix" type="string" use="optional" default="-"/>
   
<attribute name="positivePrefix" type="string" use="optional"/>
   
<attribute name="showThousandsGrouping" type="boolean" use="optional" default="true"/>
   
<attribute name="notation" use="optional" default="normal">
     
<simpleType>
       
<restriction base="string">
         
<enumeration value="normal"/>
         
<enumeration value="scientific"/>
         
<enumeration value="engineering"/>
       
</restriction>
     
</simpleType>
   
</attribute>
 
</complexType>
</element>

attribute NumberToStringType/NumberFormat/@numberBase
type xtce:RadixType
properties
use optional
default Decimal
facets
Kind Value Annotation
enumeration Decimal
enumeration Hexadecimal
enumeration Octal
enumeration Binary
source <attribute name="numberBase" type="xtce:RadixType" use="optional" default="Decimal"/>

attribute NumberToStringType/NumberFormat/@minimumFractionDigits
type nonNegativeInteger
properties
use optional
source <attribute name="minimumFractionDigits" type="nonNegativeInteger" use="optional"/>

attribute NumberToStringType/NumberFormat/@maximumFractionDigits
type nonNegativeInteger
properties
use optional
source <attribute name="maximumFractionDigits" type="nonNegativeInteger" use="optional"/>

attribute NumberToStringType/NumberFormat/@minimumIntegerDigits
type nonNegativeInteger
properties
use optional
source <attribute name="minimumIntegerDigits" type="nonNegativeInteger" use="optional"/>

attribute NumberToStringType/NumberFormat/@maximumIntegerDigits
type nonNegativeInteger
properties
use optional
source <attribute name="maximumIntegerDigits" type="nonNegativeInteger" use="optional"/>

attribute NumberToStringType/NumberFormat/@negativeSuffix
type string
properties
use optional
source <attribute name="negativeSuffix" type="string" use="optional"/>

attribute NumberToStringType/NumberFormat/@positiveSuffix
type string
properties
use optional
source <attribute name="positiveSuffix" type="string" use="optional"/>

attribute NumberToStringType/NumberFormat/@negativePrefix
type string
properties
use optional
default -
source <attribute name="negativePrefix" type="string" use="optional" default="-"/>

attribute NumberToStringType/NumberFormat/@positivePrefix
type string
properties
use optional
source <attribute name="positivePrefix" type="string" use="optional"/>

attribute NumberToStringType/NumberFormat/@showThousandsGrouping
type boolean
properties
use optional
default true
source <attribute name="showThousandsGrouping" type="boolean" use="optional" default="true"/>

attribute NumberToStringType/NumberFormat/@notation
type restriction of string
properties
use optional
default normal
facets
Kind Value Annotation
enumeration normal
enumeration scientific
enumeration engineering
source <attribute name="notation" use="optional" default="normal">
 
<simpleType>
   
<restriction base="string">
     
<enumeration value="normal"/>
     
<enumeration value="scientific"/>
     
<enumeration value="engineering"/>
   
</restriction>
 
</simpleType>
</attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy