public class Namespaces extends Object
Java class for Namespaces complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Namespaces"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
namespaces |
Constructor and Description |
---|
Namespaces() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getNamespaces()
Gets the value of the namespaces property.
|
Namespaces |
withNamespaces(Collection<String> values) |
Namespaces |
withNamespaces(String... values) |
public List<String> getNamespaces()
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 namespaces property.
For example, to add a new item, do as follows:
getNamespaces().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Namespaces withNamespaces(String... values)
public Namespaces withNamespaces(Collection<String> values)
Copyright © 2004–2019 XWiki. All rights reserved.