Element document

Type: document
Namespace: http://hudson-ci.org/xsd/hudson/2.1.0/maven/config

Java class for document complex type.

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

<complexType name="document">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attribute" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentAttribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentType" />
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <document xmlns="http://hudson-ci.org/xsd/hudson/2.1.0/maven/config" id="..." name="..." type="..."> <description xmlns="">...</description> <content xmlns="">...</content> <attribute xmlns="" name="..." value="..." /> <attribute xmlns="" name="..." value="..."> <!--...--> </attribute> <!--...more "attribute" elements...--> </document>

Example JSON

{ id : "...", name : "...", type : { }, description : "...", content : "...", attribute : [ { name : "...", value : "..." }, ... ] }