|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Menu
public class Menu
A menu in the navigation.
Java class for Menu complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Menu">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}MenuItem" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="inherit" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="inheritAsRef" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="img" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
img
|
protected String |
inherit
|
protected Boolean |
inheritAsRef
|
protected MenuItem[] |
item
|
protected String |
name
|
protected String |
ref
|
| Constructor Summary | |
|---|---|
Menu()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Menu instance. |
|
Menu(Menu o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Menu instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Menu |
clone()
Creates and returns a copy of this object. |
void |
copyItem(MenuItem[] source)
Copies all values of property Item. |
String |
getImg()
Gets the value of the img property. |
String |
getInherit()
Gets the value of the inherit property. |
MenuItem[] |
getItem()
|
MenuItem |
getItem(int idx)
|
int |
getItemLength()
|
String |
getName()
Gets the value of the name property. |
String |
getRef()
Gets the value of the ref property. |
boolean |
isInheritAsRef()
Gets the value of the inheritAsRef property. |
void |
setImg(String value)
Sets the value of the img property. |
void |
setInherit(String value)
Sets the value of the inherit property. |
void |
setInheritAsRef(Boolean value)
Sets the value of the inheritAsRef property. |
MenuItem |
setItem(int idx,
MenuItem value)
|
void |
setItem(MenuItem[] values)
|
void |
setName(String value)
Sets the value of the name property. |
void |
setRef(String value)
Sets the value of the ref property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MenuItem[] item
protected String name
protected String inherit
protected Boolean inheritAsRef
protected String ref
protected String img
| Constructor Detail |
|---|
public Menu()
net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Menu instance.
public Menu(Menu o)
net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.maven.decoration100.Menu instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public MenuItem[] getItem()
MenuItempublic MenuItem getItem(int idx)
MenuItempublic int getItemLength()
public void setItem(MenuItem[] values)
values - allowed objects are
MenuItem
public MenuItem setItem(int idx,
MenuItem value)
value - allowed object is
MenuItempublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getInherit()
Stringpublic void setInherit(String value)
value - allowed object is
Stringpublic boolean isInheritAsRef()
Booleanpublic void setInheritAsRef(Boolean value)
value - allowed object is
Booleanpublic String getRef()
Stringpublic void setRef(String value)
value - allowed object is
Stringpublic String getImg()
Stringpublic void setImg(String value)
value - allowed object is
Stringpublic void copyItem(MenuItem[] source)
Item.
source - The source to copy from.
NullPointerException - if source is null.public Menu clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||