LML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://eclipse.org/ptp/lml
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):

Declared Namespaces

Prefix Namespace
Default namespace http://www.w3.org/2001/XMLSchema
xml http://www.w3.org/XML/1998/namespace
lml http://eclipse.org/ptp/lml
Schema Component Representation
<schema targetNamespace="http://eclipse.org/ptp/lml">
<include schemaLocation="lgui.xsd"/>
...
</schema>
top

Global Definitions

Complex Type: axes_type

Super-types: None
Sub-types: None
Name axes_type
Abstract no
Documentation Combines one x-axis-element and one y-axis-element.
XML Instance Representation
<...>
<x> lml:axis_type </x> [1]
<y> lml:axis_type </y> [1]
</...>
Schema Component Representation
<complexType name="axes_type">
<sequence>
<element name="x" type=" lml:axis_type " maxOccurs="1" minOccurs="1"/>
<element name="y" type=" lml:axis_type " maxOccurs="1" minOccurs="1"/>
</sequence>
</complexType>
top

Complex Type: axis_type

Super-types: None
Sub-types: None
Name axis_type
Abstract no
Documentation Type for either x- or y-axis. Contains important data of these objects.
XML Instance Representation
<...
type=" lml:axis_type_constants [0..1]"
unit="string [0..1] ?"
label="string [0..1] ?"
shortlabel="string [0..1]"
min="double [1]"
max="double [1]"
ticcount="nonNegativeInteger [0..1]">
<ticlabels> lml:ticlabels_type </ticlabels> [0..1]
</...>
Schema Component Representation
<complexType name="axis_type">
<sequence>
<element name="ticlabels" type=" lml:ticlabels_type " maxOccurs="1" minOccurs="0"/>
</sequence>
<attribute name="type" type=" lml:axis_type_constants " default="linear"/>
<attribute name="unit" type=" string "/>
<attribute name="label" type=" string "/>
<attribute name="shortlabel" type=" string "/>
<attribute name="min" type=" double " use="required"/>
<attribute name="max" type=" double " use="required"/>
<attribute name="ticcount" type=" nonNegativeInteger " default="10"/>
</complexType>
top

Complex Type: chart_type

Super-types: lml:gobject_type < chart_type (by extension)
Sub-types: None
Name chart_type
Abstract no
Documentation Collects data of a chart describing a histogram or other diagrams.
XML Instance Representation
<...>
<axes> lml:axes_type </axes> [0..1]
<data> lml:datacollection_type </data> [0..*]
</...>
Schema Component Representation
<complexType name="chart_type">
<complexContent>
<extension base=" lml:gobject_type ">
<sequence>
<element name="axes" type=" lml:axes_type " maxOccurs="1" minOccurs="0"/>
<element name="data" type=" lml:datacollection_type " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: chartgroup_type

Super-types: lml:gobject_type < chartgroup_type (by extension)
Sub-types: None
Name chartgroup_type
Abstract no
Documentation A group of charts. Could be displayed as overlay-diagrams.
XML Instance Representation
<...>
<chart> lml:chart_type </chart> [1..*]
</...>
Schema Component Representation
<complexType name="chartgroup_type">
<complexContent>
<extension base=" lml:gobject_type ">
<sequence>
<element name="chart" type=" lml:chart_type " maxOccurs="unbounded" minOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: datacollection_type

Super-types: None
Sub-types: None
Name datacollection_type
Abstract no
Documentation Defines a set of datapoints and datarects. Saves real data of a diagram.
XML Instance Representation
<...
name="string [0..1]"
description="string [0..1]">
Start Sequence [0..*]
<p> lml:datapoint_type </p> [0..*]
<r> lml:datarect_type </r> [0..*]
End Sequence
</...>
Schema Component Representation
<complexType name="datacollection_type">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="p" type=" lml:datapoint_type " maxOccurs="unbounded" minOccurs="0"/>
<element name="r" type=" lml:datarect_type " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type=" string "/>
<attribute name="description" type=" string "/>
</complexType>
top

Complex Type: datapoint_type

Super-types: None
Sub-types:
Name datapoint_type
Abstract no
Documentation One point in a diagram. Could define one bar in a bar chart.
XML Instance Representation
<...
x="double [1]"
y="double [1]"
oid="NCName [0..1]"/>
Schema Component Representation
<complexType name="datapoint_type">
<attribute name="x" type=" double " use="required"/>
<attribute name="y" type=" double " use="required"/>
<attribute name="oid" type=" NCName "/>
</complexType>
top

Complex Type: datarect_type

Super-types: datapoint_type < datarect_type (by extension)
Sub-types: None
Name datarect_type
Abstract no
Documentation One rect in a diagram. Used in timeline-diagram for usage-prediction in llview. (x,y) is upper left corner of the rect.
XML Instance Representation
<...
x="double [1]"
y="double [1]"
oid="NCName [0..1]"
w="double [1] ?"
h="double [1] ?"
text="string [0..1] ?"/>
Schema Component Representation
<complexType name="datarect_type">
<complexContent>
<extension base=" lml:datapoint_type ">
<attribute name="w" type=" double " use="required"/>
<attribute name="h" type=" double " use="required"/>
<attribute name="text" type=" string "/>
</extension>
</complexContent>
</complexType>
top

Complex Type: ticlabel_type

Super-types: None
Sub-types: None
Name ticlabel_type
Abstract no
Documentation One ticlabel is one name or string, that is shown on an axis instead of a numerical value. The tic-labels will be shown in addition to normal tic-labels given by inserting ticcount-times a numerical value into the axis.
XML Instance Representation
<...
pos="double [1]"
text="string [0..1] ?"/>
Schema Component Representation
<complexType name="ticlabel_type">
<attribute name="pos" type=" double " use="required"/>
<attribute name="text" type=" string "/>
</complexType>
top

Complex Type: ticlabels_type

Super-types: None
Sub-types: None
Name ticlabels_type
Abstract no
Documentation Collects a list of ticlabels.
XML Instance Representation
<...>
<label> lml:ticlabel_type </label> [1..*]
</...>
Schema Component Representation
<complexType name="ticlabels_type">
<sequence>
<element name="label" type=" lml:ticlabel_type " maxOccurs="unbounded" minOccurs="1"/>
</sequence>
</complexType>
top

Simple Type: axis_type_constants

Super-types: string < axis_type_constants (by restriction)
Sub-types: None
Name axis_type_constants
Content
  • Base XSD Type: string
  • value comes from list: {'linear'|'log'}
Documentation Defines possible axis-types. Defines how numbers are arranged in this axis.
Schema Component Representation
<simpleType name="axis_type_constants">
<restriction base=" string ">
<enumeration value="linear"/>
<enumeration value="log"/>
</restriction>
</simpleType>
top