Option element

Type: Toption
Namespace: http://www.osgi.org/xmlns/metatype/v1.2.0
XML Schema: ocd.xsd

Java class for Toption complex type.

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

<complexType name="Toption">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="label" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<anyAttribute/>
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <Option xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" label="..." value="..." />

Example JSON

{ "label" : "...", "value" : "..." }