Java Reference
In-Depth Information
at the specified namespace; applications have to access this schema
by downloading it from [JDM11 2006]. Line 2 of Listing 10-2 shows the
root element called JDM . The JDM element can have children as one
header element (line 3) and multiple object elements (line 4). The header
Listing 10-2
JDM Schema elements
1. <xsd:schema xmlns:xsd=""
xmlns=" "
2. <xsd:element name=" JDM ">
3. <xsd:element name=" header " type="Header"/>
4. <xsd:element name=" object " type="NamedObject" minOccurs="0"
5. <xsd:attribute name="version" type="xsd:string" use="required"/>
6. <xsd:complexType name=" Header ">
<xsd:element name="copyright" type="xsd:string" minOccurs="0"/>
<xsd:element name="timestamp" type="xsd:date" minOccurs="0"/>
<xsd:element name="applicationName" type="xsd:string" minOccurs="0"/>
<xsd:element name="applicationVersion" type="xsd:string" minOccurs="0"/>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
7. <xsd:complexType name=" NamedObject ">
<xsd:element name="task" type="Task"/>
<xsd:element name="buildSettings" type="BuildSettings"/>
<xsd:element name="model" type="Model"/>
<xsd:element name="logicalData" type="LogicalData"/>
<xsd:element name="physicalDataSet" type="PhysicalDataSet"/>
<xsd:element name="testMetrics" type="TestMetrics"/>
<xsd:element name="taxonomy" type="Taxonomy"/>
<xsd:element name="costMatrix" type="CostMatrix"/>
<xsd:element name="applySettings" type="ApplySettings"/>
. . . JDM complexTypes . . .
Search WWH ::

Custom Search