org.apache.cxf.configuration.security.IncludeProtocols Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.04.05 at 04:17:16 PM EDT
//
package org.apache.cxf.configuration.security;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* This structure holds a list of protocols that are to be included.
* Sometimes we want to include more protocols than the secure socket protocol, for example
* "SSLv2Hello".
*
*
* Java class for IncludeProtocols complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="IncludeProtocols">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="includeProtocol" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IncludeProtocols", namespace = "http://cxf.apache.org/configuration/security", propOrder = {
"includeProtocol"
})
public class IncludeProtocols {
@XmlElement(namespace = "http://cxf.apache.org/configuration/security")
protected List includeProtocol;
/**
* Gets the value of the includeProtocol 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 includeProtocol property.
*
*
* For example, to add a new item, do as follows:
*
* getIncludeProtocol().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getIncludeProtocol() {
if (includeProtocol == null) {
includeProtocol = new ArrayList();
}
return this.includeProtocol;
}
public boolean isSetIncludeProtocol() {
return ((this.includeProtocol!= null)&&(!this.includeProtocol.isEmpty()));
}
public void unsetIncludeProtocol() {
this.includeProtocol = null;
}
}