|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body
public class 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 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 List<Menu> |
menu
|
| Constructor Summary | |
|---|---|
Body()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body instance. |
|
Body(Body o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Body |
clone()
Creates and returns a copy of this object. |
protected static void |
copyMenu(List<Menu> source,
List<Menu> target)
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Body.Head head
protected Body.Links links
protected Body.Breadcrumbs breadcrumbs
protected List<Menu> menu
| Constructor Detail |
|---|
public Body()
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body instance.
public Body(Body o)
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public Body.Head getHead()
Body.Headpublic void setHead(Body.Head value)
value - allowed object is
Body.Headpublic Body.Links getLinks()
Body.Linkspublic void setLinks(Body.Links value)
value - allowed object is
Body.Linkspublic Body.Breadcrumbs getBreadcrumbs()
Body.Breadcrumbspublic void setBreadcrumbs(Body.Breadcrumbs value)
value - allowed object is
Body.Breadcrumbspublic List<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
protected static void copyMenu(List<Menu> source,
List<Menu> target)
Menu.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public Body clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||