com.google.code.facebookapi.schema.Visible Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of facebook-java-api-schema Show documentation
Show all versions of facebook-java-api-schema Show documentation
Generated classes from XSD Schema
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.02.15 at 07:02:48 PM GMT-08:00
//
package com.google.code.facebookapi.schema;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for visible.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="visible">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="friends"/>
* <enumeration value="friends-of-friends"/>
* <enumeration value="networks"/>
* <enumeration value="everyone"/>
* <enumeration value="custom"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "visible")
@XmlEnum
public enum Visible {
@XmlEnumValue("friends")
FRIENDS("friends"),
@XmlEnumValue("friends-of-friends")
FRIENDS_OF_FRIENDS("friends-of-friends"),
@XmlEnumValue("networks")
NETWORKS("networks"),
@XmlEnumValue("everyone")
EVERYONE("everyone"),
@XmlEnumValue("custom")
CUSTOM("custom");
private final String value;
Visible(String v) {
value = v;
}
public String value() {
return value;
}
public static Visible fromValue(String v) {
for (Visible c: Visible.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy