001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2011.11.18 at 02:23:57 PM EST 006 // 007 008 009 package ietf.params.xml.ns.xmpp_sasl; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlElement; 016 import javax.xml.bind.annotation.XmlRootElement; 017 import javax.xml.bind.annotation.XmlType; 018 019 020 /** 021 * <p>Java class for anonymous complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element name="mechanism" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> 031 * </sequence> 032 * </restriction> 033 * </complexContent> 034 * </complexType> 035 * </pre> 036 * 037 * 038 */ 039 @XmlAccessorType(XmlAccessType.FIELD) 040 @XmlType(name = "", propOrder = { 041 "mechanism" 042 }) 043 @XmlRootElement(name = "mechanisms") 044 public class Mechanisms { 045 046 @XmlElement(required = true) 047 protected List<String> mechanism; 048 049 /** 050 * Gets the value of the mechanism property. 051 * 052 * <p> 053 * This accessor method returns a reference to the live list, 054 * not a snapshot. Therefore any modification you make to the 055 * returned list will be present inside the JAXB object. 056 * This is why there is not a <CODE>set</CODE> method for the mechanism property. 057 * 058 * <p> 059 * For example, to add a new item, do as follows: 060 * <pre> 061 * getMechanism().add(newItem); 062 * </pre> 063 * 064 * 065 * <p> 066 * Objects of the following type(s) are allowed in the list 067 * {@link String } 068 * 069 * 070 */ 071 public List<String> getMechanism() { 072 if (mechanism == null) { 073 mechanism = new ArrayList<String>(); 074 } 075 return this.mechanism; 076 } 077 078 }