org.xwiki.rest.model.jaxb
Class Syntaxes

java.lang.Object
  extended by org.xwiki.rest.model.jaxb.LinkCollection
      extended by 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
protected  java.util.List<java.lang.String> syntaxes
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Syntaxes()
           
 
Method Summary
 java.util.List<java.lang.String> getSyntaxes()
          Gets the value of the syntaxes property.
 Syntaxes withLinks(java.util.Collection<Link> values)
           
 Syntaxes withLinks(Link... values)
           
 Syntaxes withSyntaxes(java.util.Collection<java.lang.String> values)
           
 Syntaxes withSyntaxes(java.lang.String... values)
           
 
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

syntaxes

protected java.util.List<java.lang.String> syntaxes
Constructor Detail

Syntaxes

public Syntaxes()
Method Detail

getSyntaxes

public java.util.List<java.lang.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(java.lang.String... values)

withSyntaxes

public Syntaxes withSyntaxes(java.util.Collection<java.lang.String> values)

withLinks

public Syntaxes withLinks(Link... values)
Overrides:
withLinks in class LinkCollection

withLinks

public Syntaxes withLinks(java.util.Collection<Link> values)
Overrides:
withLinks in class LinkCollection


Copyright © 2004-2010 XWiki. All Rights Reserved.