|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Body
The main content decoration.
Java class for Body complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Body">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="head" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="links" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}LinkItem" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="breadcrumbs" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}LinkItem" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="menu" type="{http://maven.apache.org/DECORATION/1.0.0}Menu" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static interface |
Body.Breadcrumbs
Java class for anonymous complex type. |
static interface |
Body.Head
Java class for anonymous complex type. |
static interface |
Body.Links
Java class for anonymous complex type. |
| Method Summary | |
|---|---|
Body.Breadcrumbs |
getBreadcrumbs()
Gets the value of the breadcrumbs property. |
Body.Head |
getHead()
Gets the value of the head property. |
Body.Links |
getLinks()
Gets the value of the links property. |
List<Menu> |
getMenu()
Gets the value of the menu property. |
void |
setBreadcrumbs(Body.Breadcrumbs value)
Sets the value of the breadcrumbs property. |
void |
setHead(Body.Head value)
Sets the value of the head property. |
void |
setLinks(Body.Links value)
Sets the value of the links property. |
| Method Detail |
|---|
Body.Head getHead()
Body.Headvoid setHead(Body.Head value)
value - allowed object is
Body.HeadBody.Links getLinks()
Body.Linksvoid setLinks(Body.Links value)
value - allowed object is
Body.LinksBody.Breadcrumbs getBreadcrumbs()
Body.Breadcrumbsvoid setBreadcrumbs(Body.Breadcrumbs value)
value - allowed object is
Body.BreadcrumbsList<Menu> getMenu()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the menu property.
For example, to add a new item, do as follows:
getMenu().add(newItem);
Objects of the following type(s) are allowed in the list
Menu
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||