|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlhammer.model.preferences.Menu
public class Menu
Java class for menu element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="menu"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="menuitem"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType> </element>
Nested Class Summary | |
---|---|
static class |
Menu.Menuitem
Java class for anonymous complex type. |
Field Summary | |
---|---|
protected java.util.List<Menu.Menuitem> |
menuitem
|
protected java.lang.String |
title
|
Constructor Summary | |
---|---|
Menu()
|
Method Summary | |
---|---|
java.util.List<Menu.Menuitem> |
getMenuitem()
Gets the value of the menuitem property. |
java.lang.String |
getTitle()
Gets the value of the title property. |
void |
setTitle(java.lang.String value)
Sets the value of the title property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Menu.Menuitem> menuitem
protected java.lang.String title
Constructor Detail |
---|
public Menu()
Method Detail |
---|
public java.util.List<Menu.Menuitem> getMenuitem()
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 menuitem property.
For example, to add a new item, do as follows:
getMenuitem().add(newItem);
Objects of the following type(s) are allowed in the list
Menu.Menuitem
public java.lang.String getTitle()
String
public void setTitle(java.lang.String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |