Enum XmlToken

    • Enum Constant Detail

      • Policy

        public static final XmlToken Policy
      • ExactlyOne

        public static final XmlToken ExactlyOne
      • PolicyReference

        public static final XmlToken PolicyReference
      • UsingPolicy

        public static final XmlToken UsingPolicy
      • Name

        public static final XmlToken Name
      • Optional

        public static final XmlToken Optional
      • Ignorable

        public static final XmlToken Ignorable
      • PolicyUris

        public static final XmlToken PolicyUris
      • Digest

        public static final XmlToken Digest
      • DigestAlgorithm

        public static final XmlToken DigestAlgorithm
      • UNKNOWN

        public static final XmlToken UNKNOWN
    • Method Detail

      • values

        public static XmlToken[] 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 (XmlToken c : XmlToken.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XmlToken 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
      • resolveToken

        public static XmlToken resolveToken​(String name)
        Resolves URI represented as a String into an enumeration value. If the URI doesn't represent any existing enumeration value, method returns null
        Parameters:
        name -
        Returns:
        Enumeration value that represents given URI or null if no enumeration value exists for given URI.
      • isElement

        public boolean isElement()