net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.maven.decoration100
Interface Body

All Known Implementing Classes:
BodyImpl

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

getHead

Body.Head getHead()
Gets the value of the head property.

Returns:
possible object is Body.Head

setHead

void setHead(Body.Head value)
Sets the value of the head property.

Parameters:
value - allowed object is Body.Head

getLinks

Body.Links getLinks()
Gets the value of the links property.

Returns:
possible object is Body.Links

setLinks

void setLinks(Body.Links value)
Sets the value of the links property.

Parameters:
value - allowed object is Body.Links

getBreadcrumbs

Body.Breadcrumbs getBreadcrumbs()
Gets the value of the breadcrumbs property.

Returns:
possible object is Body.Breadcrumbs

setBreadcrumbs

void setBreadcrumbs(Body.Breadcrumbs value)
Sets the value of the breadcrumbs property.

Parameters:
value - allowed object is Body.Breadcrumbs

getMenu

List<Menu> getMenu()
Gets the value of the menu property.

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



Copyright © 2009 The CC-XJC Community. All Rights Reserved.