net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100
Class Body

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Body
All Implemented Interfaces:
Serializable, Cloneable

public class Body
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Nested Class Summary
static class Body.Breadcrumbs
          Java class for anonymous complex type.
static class Body.Head
          Java class for anonymous complex type.
static class Body.Links
          Java class for anonymous complex type.
 
Field Summary
protected  Body.Breadcrumbs breadcrumbs
           
protected  Body.Head head
           
protected  Body.Links links
           
protected  Menu[] menu
           
 
Constructor Summary
Body()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Body instance.
Body(Body o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Body instance by copying a given instance.
 
Method Summary
 Body clone()
          Creates and returns a copy of this object.
 void copyMenu(Menu[] source)
          Copies all values of property Menu.
 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.
 Menu[] getMenu()
           
 Menu getMenu(int idx)
           
 int getMenuLength()
           
 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.
 Menu setMenu(int idx, Menu value)
           
 void setMenu(Menu[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

head

protected Body.Head head

links

protected Body.Links links

breadcrumbs

protected Body.Breadcrumbs breadcrumbs

menu

protected Menu[] menu
Constructor Detail

Body

public Body()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Body instance.


Body

public Body(Body o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Body instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getHead

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

Returns:
possible object is Body.Head

setHead

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

Parameters:
value - allowed object is Body.Head

getLinks

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

Returns:
possible object is Body.Links

setLinks

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

Parameters:
value - allowed object is Body.Links

getBreadcrumbs

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

Returns:
possible object is Body.Breadcrumbs

setBreadcrumbs

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

Parameters:
value - allowed object is Body.Breadcrumbs

getMenu

public Menu[] getMenu()
Returns:
array of Menu

getMenu

public Menu getMenu(int idx)
Returns:
one of Menu

getMenuLength

public int getMenuLength()

setMenu

public void setMenu(Menu[] values)
Parameters:
values - allowed objects are Menu

setMenu

public Menu setMenu(int idx,
                    Menu value)
Parameters:
value - allowed object is Menu

copyMenu

public void copyMenu(Menu[] source)
Copies all values of property Menu.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public Body clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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