Attribute element

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

Java class for Tattribute complex type.

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

<complexType name="Tattribute">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="adref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="content" type="{http://www.w3.org/2001/XMLSchema}string" />
<anyAttribute/>
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <Attribute xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" adref="..." content="..."> <Value>...</Value> <Value>...</Value> <!--...more "Value" elements...--> </Attribute>

Example JSON

{ "adref" : "...", "content" : "...", "Value" : [ "...", ... ] }