public class ResourcesType
extends java.lang.Object
Java class for resources-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resources-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.ehcache.org/v3}resource" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<org.w3c.dom.Element> |
resource |
| Constructor and Description |
|---|
ResourcesType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.w3c.dom.Element> |
getResource()
Gets the value of the resource property.
|
ResourcesType |
withResource(java.util.Collection<org.w3c.dom.Element> values) |
ResourcesType |
withResource(org.w3c.dom.Element... values) |
public java.util.List<org.w3c.dom.Element> getResource()
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 resource property.
For example, to add a new item, do as follows:
getResource().add(newItem);
Objects of the following type(s) are allowed in the list
Element
public ResourcesType withResource(org.w3c.dom.Element... values)
public ResourcesType withResource(java.util.Collection<org.w3c.dom.Element> values)