edu.uoc.pfc.social.xml
Enum SocialNetworkXPathExpr
java.lang.Object
java.lang.Enum<SocialNetworkXPathExpr>
edu.uoc.pfc.social.xml.SocialNetworkXPathExpr
- All Implemented Interfaces:
- Serializable, Comparable<SocialNetworkXPathExpr>
public enum SocialNetworkXPathExpr
- extends Enum<SocialNetworkXPathExpr>
Enum on es troben totes les expressions XPath utilitzades per a manipular els
documents XML relaccionats amb la configuració de la xarxa social.
- Author:
- Rubén Salvador Gareta.
SOCIAL_USER
public static final SocialNetworkXPathExpr SOCIAL_USER
CERTIFICATE
public static final SocialNetworkXPathExpr CERTIFICATE
CONTACT_LIST
public static final SocialNetworkXPathExpr CONTACT_LIST
CONTACT
public static final SocialNetworkXPathExpr CONTACT
values
public static SocialNetworkXPathExpr[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SocialNetworkXPathExpr c : SocialNetworkXPathExpr.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SocialNetworkXPathExpr valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getValue
public String getValue()
- Mètode utilitzat per a consultar el valor d'alguna de les constants
de l'enumeration.
- Returns:
- Valor de l'enumerator consultat.