Package org.xwiki.rest.model.jaxb
Class Syntaxes
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.Syntaxes
-
public class Syntaxes extends LinkCollection
Java class for Syntaxes complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Syntaxes"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="syntax" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
syntaxes
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Syntaxes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getSyntaxes()
Gets the value of the syntaxes property.Syntaxes
withLinks(Collection<Link> values)
Syntaxes
withLinks(Link... values)
Syntaxes
withSyntaxes(String... values)
Syntaxes
withSyntaxes(Collection<String> values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Method Detail
-
getSyntaxes
public List<String> getSyntaxes()
Gets the value of the syntaxes property.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 syntaxes property.For example, to add a new item, do as follows:
getSyntaxes().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
withSyntaxes
public Syntaxes withSyntaxes(Collection<String> values)
-
withLinks
public Syntaxes withLinks(Link... values)
- Overrides:
withLinks
in classLinkCollection
-
withLinks
public Syntaxes withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-