public class WadlApplication extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://wadl.dev.java.net/2009/02}grammars" minOccurs="0"/> <element ref="{http://wadl.dev.java.net/2009/02}resources" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://wadl.dev.java.net/2009/02}resource_type"/> <element ref="{http://wadl.dev.java.net/2009/02}method"/> <element ref="{http://wadl.dev.java.net/2009/02}representation"/> <element ref="{http://wadl.dev.java.net/2009/02}param"/> </choice> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<WadlDoc> |
doc |
protected WadlGrammars |
grammars |
protected List<WadlResources> |
resources |
protected List<Object> |
resourceTypeOrMethodOrRepresentation |
Constructor and Description |
---|
WadlApplication() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<WadlDoc> |
getDoc()
Gets the value of the doc property.
|
WadlGrammars |
getGrammars()
Gets the value of the grammars property.
|
List<WadlResources> |
getResources()
Gets the value of the resources property.
|
List<Object> |
getResourceTypeOrMethodOrRepresentation()
Gets the value of the resourceTypeOrMethodOrRepresentation property.
|
void |
setGrammars(WadlGrammars value)
Sets the value of the grammars property.
|
protected WadlGrammars grammars
protected List<WadlResources> resources
public List<WadlDoc> getDoc()
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 doc property.
For example, to add a new item, do as follows:
getDoc().add(newItem);
Objects of the following type(s) are allowed in the list
WadlDoc
public WadlGrammars getGrammars()
WadlGrammars
public void setGrammars(WadlGrammars value)
value
- allowed object is
WadlGrammars
public List<WadlResources> getResources()
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 resources property.
For example, to add a new item, do as follows:
getResources().add(newItem);
Objects of the following type(s) are allowed in the list
WadlResources
public List<Object> getResourceTypeOrMethodOrRepresentation()
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 resourceTypeOrMethodOrRepresentation property.
For example, to add a new item, do as follows:
getResourceTypeOrMethodOrRepresentation().add(newItem);
Objects of the following type(s) are allowed in the list
WadlMethod
WadlResourceType
WadlParam
WadlRepresentation
public List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Element
Object
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a