Rev 1306 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.05.28 at 05:04:01 PM BST
//
package pt.estgp.rss;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* <p>Java class for tCloudProtocol.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="tCloudProtocol">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="xml-rpc"/>
* <enumeration value="http-post"/>
* <enumeration value="soap"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlEnum
public enum TCloudProtocol
{
@XmlEnumValue
("xml-rpc")
XML_RPC
("xml-rpc"),
@XmlEnumValue
("http-post")
HTTP_POST
("http-post"),
@XmlEnumValue
("soap")
SOAP
("soap");
private final 1.5.0/docs/api/java/lang/String.html">String value
;
TCloudProtocol
(1.5.0/docs/api/java/lang/String.html">String v
) {
value = v
;
}
public 1.5.0/docs/api/java/lang/String.html">String value
() {
return value
;
}
public static TCloudProtocol fromValue
(1.5.0/docs/api/java/lang/String.html">String v
) {
for (TCloudProtocol c: TCloudProtocol.
values()) {
if (c.
value.
equals(v
)) {
return c
;
}
}
throw new 1.5.0/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException(v.
toString());
}
}