Tocd Data Type

Java class for Tocd complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Tocd">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AD" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Tad" maxOccurs="unbounded"/>
         <element name="Icon" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Ticon" maxOccurs="unbounded" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <anyAttribute/>
     </restriction>
   </complexContent>
 </complexType>
 

Namespace
http://www.osgi.org/xmlns/metatype/v1.2.0
Schema
ocd.xsd
Properties
name data type type namespace min/max occurs constraints description
name string attribute 1/1 required  
description string attribute 0/1    
id string attribute 1/1 required  
AD list of Tad element ocd 1/unbounded required  
Icon list of Ticon element ocd 0/unbounded    

Example

<OCD description="..." id="..." name="..." xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0">
  <AD cardinality="..." default="..." description="..." id="..." max="..." min="..." name="..." required="..." type="...">
    <Option label="..." value="...">
      <extension1 xmlns="">...</extension1>
      <extension2 xmlns="">...</extension2>
    </Option>
    <extension1 xmlns="">...</extension1>
    <extension2 xmlns="">...</extension2>
  </AD>
  <Icon resource="..." size="...">
    <extension1 xmlns="">...</extension1>
    <extension2 xmlns="">...</extension2>
  </Icon>
  <extension1 xmlns="">...</extension1>
  <extension2 xmlns="">...</extension2>
</OCD>