Schema device.xsd


schema location:  http://www.microemu.org/2.0.2/device.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://www.microemu.org/2.0.2/
 
Elements  Complex types  Simple types 
device  button  command 
chars 
device 
display 
fontBase 
fontMapping 
fontReference 
fonts 
icon 
img 
input 
paintable 
point 
polygon 
rectangle 
softbutton 
status 
statusImg 
system 
system-properties 
ttf 


element device
diagram
namespace http://www.microemu.org/2.0.2/
type device
properties
content complex
children class-name system-properties img display fonts input
attributes
Name  Type  Use  Default  Fixed  Annotation
namexsd:string  path    
documentation
The name of this device
extendsxsd:string      
documentation
The path to parent device.xml for inheritance
annotation
documentation
The device element is the root of the device descriptor.
source <xsd:element name="device" type="device">
 
<xsd:annotation>
   
<xsd:documentation>The device element is the root of the device descriptor.</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

complexType button
diagram
namespace http://www.microemu.org/2.0.2/
children chars rectangle polygon
used by
element input/button
attributes
Name  Type  Use  Default  Fixed  Annotation
namexsd:stringrequired      
documentation
Name of the button. e.g. 0, 1, 2 ... # *
keyxsd:string      
documentation
Computer keyboard key codes space separated used to trigger this button.
keyboardCharsxsd:string      
documentation
Computer keyboard key codes in character (not separated) used to trigger this button.
keyCodexsd:string      
documentation
Keyboard key code passed to Canvas.keyPressed() finction
modeChangexsd:boolean      
documentation
This button is modeChange button for text inputs
source <xsd:complexType name="button">
 
<xsd:annotation>
   
<xsd:documentation/>
 
</xsd:annotation>
 
<xsd:sequence>
   
<xsd:element name="chars" type="chars" minOccurs="0" maxOccurs="unbounded"/>
   
<xsd:choice>
     
<xsd:element name="rectangle" type="rectangle"/>
     
<xsd:element name="polygon" type="polygon"/>
   
</xsd:choice>
 
</xsd:sequence>
 
<xsd:attribute name="name" type="xsd:string" use="required">
   
<xsd:annotation>
     
<xsd:documentation>Name of the button. e.g. 0, 1, 2 ... # *</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
 
<xsd:attribute name="key" type="xsd:string">
   
<xsd:annotation>
     
<xsd:documentation>Computer keyboard key codes space separated used to trigger this button.</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
 
<xsd:attribute name="keyboardChars" type="xsd:string">
   
<xsd:annotation>
     
<xsd:documentation>Computer keyboard key codes in character (not separated) used to trigger this button.</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
 
<xsd:attribute name="keyCode" type="xsd:string">
   
<xsd:annotation>
     
<xsd:documentation>Keyboard key code passed to Canvas.keyPressed() finction</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
 
<xsd:attribute name="modeChange" type="xsd:boolean">
   
<xsd:annotation>
     
<xsd:documentation>This button is modeChange button for text inputs</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
</xsd:complexType>

attribute button/@name
type xsd:string
properties
isRef 0
use required
annotation
documentation
Name of the button. e.g. 0, 1, 2 ... # *
source <xsd:attribute name="name" type="xsd:string" use="required">
 
<xsd:annotation>
   
<xsd:documentation>Name of the button. e.g. 0, 1, 2 ... # *</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute button/@key
type xsd:string
properties
isRef 0
annotation
documentation
Computer keyboard key codes space separated used to trigger this button.
source <xsd:attribute name="key" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>Computer keyboard key codes space separated used to trigger this button.</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute button/@keyboardChars
type xsd:string
properties
isRef 0
annotation
documentation
Computer keyboard key codes in character (not separated) used to trigger this button.
source <xsd:attribute name="keyboardChars" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>Computer keyboard key codes in character (not separated) used to trigger this button.</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute button/@keyCode
type xsd:string
properties
isRef 0
annotation
documentation
Keyboard key code passed to Canvas.keyPressed() finction
source <xsd:attribute name="keyCode" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>Keyboard key code passed to Canvas.keyPressed() finction</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute button/@modeChange
type xsd:boolean
properties
isRef 0
annotation
documentation
This button is modeChange button for text inputs
source <xsd:attribute name="modeChange" type="xsd:boolean">
 
<xsd:annotation>
   
<xsd:documentation>This button is modeChange button for text inputs</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

element button/chars
diagram
namespace http://www.microemu.org/2.0.2/
type chars
properties
isRef 0
minOcc 0
maxOcc unbounded
content complex
children char
attributes
Name  Type  Use  Default  Fixed  Annotation
inputxsd:string      
source <xsd:element name="chars" type="chars" minOccurs="0" maxOccurs="unbounded"/>

element button/rectangle
diagram
namespace http://www.microemu.org/2.0.2/
type rectangle
properties
isRef 0
content complex
children x y width height
source <xsd:element name="rectangle" type="rectangle"/>

element button/polygon
diagram
namespace http://www.microemu.org/2.0.2/
type polygon
properties
isRef 0
content complex
children point
source <xsd:element name="polygon" type="polygon"/>

complexType chars
diagram
namespace http://www.microemu.org/2.0.2/
children char
used by
element button/chars
attributes
Name  Type  Use  Default  Fixed  Annotation
inputxsd:string      
source <xsd:complexType name="chars">
 
<xsd:sequence>
   
<xsd:element name="char" type="xsd:string" maxOccurs="unbounded"/>
 
</xsd:sequence>
 
<xsd:attribute name="input" type="xsd:string"/>
</xsd:complexType>

attribute chars/@input
type xsd:string
properties
isRef 0
source <xsd:attribute name="input" type="xsd:string"/>

element chars/char
diagram
namespace http://www.microemu.org/2.0.2/
type xsd:string
properties
isRef 0
minOcc 1
maxOcc unbounded
content simple
source <xsd:element name="char" type="xsd:string" maxOccurs="unbounded"/>

complexType device
diagram
namespace http://www.microemu.org/2.0.2/
children class-name system-properties img display fonts input
used by
element device
attributes
Name  Type  Use  Default  Fixed  Annotation
namexsd:string  path    
documentation
The name of this device
extendsxsd:string      
documentation
The path to parent device.xml for inheritance
source <xsd:complexType name="device">
 
<xsd:sequence>
   
<xsd:element name="class-name" type="xsd:string" default="org.microemu.device.Device" minOccurs="0">
     
<xsd:annotation>
       
<xsd:documentation>The optional class that implements this device</xsd:documentation>
     
</xsd:annotation>
   
</xsd:element>
   
<xsd:element name="system-properties" type="system-properties" minOccurs="0"/>
   
<xsd:element name="img" type="img" minOccurs="0" maxOccurs="3">
     
<xsd:annotation>
       
<xsd:documentation>The image of the phone. Optional when device is extension.</xsd:documentation>
     
</xsd:annotation>
   
</xsd:element>
   
<xsd:element name="display" type="display"/>
   
<xsd:element name="fonts" type="fonts" minOccurs="0"/>
   
<xsd:element name="input" type="input"/>
 
</xsd:sequence>
 
<xsd:attribute name="name" type="xsd:string" default="path">
   
<xsd:annotation>
     
<xsd:documentation>The name of this device</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
 
<xsd:attribute name="extends" type="xsd:string">
   
<xsd:annotation>
     
<xsd:documentation>The path to parent device.xml for inheritance</xsd:documentation>
   
</xsd:annotation>
 
</xsd:attribute>
</xsd:complexType>

attribute device/@name
type xsd:string
properties
isRef 0
default path
annotation
documentation
The name of this device
source <xsd:attribute name="name" type="xsd:string" default="path">
 
<xsd:annotation>
   
<xsd:documentation>The name of this device</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

attribute device/@extends
type xsd:string
properties
isRef 0
annotation
documentation
The path to parent device.xml for inheritance
source <xsd:attribute name="extends" type="xsd:string">
 
<xsd:annotation>
   
<xsd:documentation>The path to parent device.xml for inheritance</xsd:documentation>
 
</xsd:annotation>
</xsd:attribute>

element device/class-name
diagram
namespace http://www.microemu.org/2.0.2/
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default org.microemu.device.Device
annotation
documentation
The optional class that implements this device
source <xsd:element name="class-name" type="xsd:string" default="org.microemu.device.Device" minOccurs="0">
 
<xsd:annotation>
   
<xsd:documentation>The optional class that implements this device</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element device/system-properties
diagram
namespace http://www.microemu.org/2.0.2/
type system-properties
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children system-property
source <xsd:element name="system-properties" type="system-properties" minOccurs="0"/>

element device/img
diagram
namespace http://www.microemu.org/2.0.2/
type img
properties
isRef 0
minOcc 0
maxOcc 3
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
namederived by: xsd:string      
srcxsd:string  <empty>    
annotation
documentation
The image of the phone. Optional when device is extension.
source <xsd:element name="img" type="img" minOccurs="0" maxOccurs="3">
 
<xsd:annotation>
   
<xsd:documentation>The image of the phone. Optional when device is extension.</xsd:documentation>
 
</xsd:annotation>
</xsd:element>

element device/display
diagram
namespace http://www.microemu.org/2.0.2/
type display
properties
isRef 0
content complex
children iscolor numcolors numalphalevels foreground background rectangle paintable icon status
source <xsd:element name="display" type="display"/>

element device/fonts
diagram
namespace http://www.microemu.org/2.0.2/
type fonts
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children font
attributes
Name  Type  Use  Default  Fixed  Annotation
hintxsd:string      
source <xsd:element name="fonts" type="fonts" minOccurs="0"/>

element device/input
diagram
namespace http://www.microemu.org/2.0.2/
type input
properties
isRef 0
content complex
children haspointerevents haspointermotionevents hasrepeatevents softbutton button
source <xsd:element name="input" type="input"/>

complexType display
diagram
namespace http://www.microemu.org/2.0.2/
children iscolor numcolors numalphalevels foreground background rectangle paintable icon status
used by
element device/display
annotation
documentation
Define device display capabilities
source <xsd:complexType name="display">
 
<xsd:annotation>
   
<xsd:documentation>Define device display capabilities</xsd:documentation>
 
</xsd:annotation>
 
<xsd:sequence>
   
<xsd:element name="iscolor" type="xsd:boolean" default="true" minOccurs="0">
     
<xsd:annotation>
       
<xsd:documentation>The screen is capable of displaying colors</xsd:documentation>
     
</xsd:annotation>
   
</xsd:element>
   
<xsd:element name="numcolors" type="xsd:integer" minOccurs="0"/>
   
<xsd:element name="numalphalevels" type="xsd:integer" minOccurs="0"/>
   
<xsd:element name="foreground" type="xsd:string" default="000000" minOccurs="0">
     
<xsd:annotation>
       
<xsd:documentation>The foreground color of display</xsd:documentation>
     
</xsd:annotation>
   
</xsd:element>
   
<xsd:element name="background" type="xsd:string" default="ffffff" minOccurs="0">
     
<xsd:annotation