Enum RubberStampIconType

  • All Implemented Interfaces:
    Serializable, Comparable<RubberStampIconType>

    public enum RubberStampIconType
    extends Enum<RubberStampIconType>
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p23729_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p441386_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p50928_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The known "named" icon types for rubberstamp annotations:
                         <ul><li>approved = A stamp that marks the stamped context as approved.</li><li>experimental = A stamp that marks the stamped content to be an experimental state.</li><li>notApproved = A stamp that disapproves the stamped context.</li><li>asIs = A stamp that marks the content as is.</li><li>expired = A stamp that marks the contained information as no longer valid.</li><li>notForPublicRelease = A stamp that marks something as information for internal use only.</li><li>confidential = A stamp marking the page as confidential.</li><li>final = A stamp that indicates, that the current state of the document is final.</li><li>sold = A stamp that indicates the marked contents to be sold and no longer available.</li><li>departmental = A stamp that forbids information to be shared to recipient outside of a given department.</li><li>forComment = Marks the stamped context as a comment.</li><li>topSecret = Marks the stamped content not to be shared publicly.</li><li>draft = A stamp marking the content to be a draft and therefore a work in progress.</li><li>forPublicRelease = Marks the content for public sharing.</li><li>unnamed = The rubberstamp shall not provide a predefined name.</li></ul></p>
     

    Java class for RubberStampIconType

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <simpleType name="RubberStampIconType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="approved"/>
         <enumeration value="experimental"/>
         <enumeration value="notApproved"/>
         <enumeration value="asIs"/>
         <enumeration value="expired"/>
         <enumeration value="notForPublicRelease"/>
         <enumeration value="confidential"/>
         <enumeration value="final"/>
         <enumeration value="sold"/>
         <enumeration value="departmental"/>
         <enumeration value="forComment"/>
         <enumeration value="topSecret"/>
         <enumeration value="draft"/>
         <enumeration value="forPublicRelease"/>
         <enumeration value="unnamed"/>
       </restriction>
     </simpleType>
     
    • Method Detail

      • values

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

        public static RubberStampIconType 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
      • value

        public String value()
        Gets the value associated to the enum constant.
        Returns:
        The value linked to the enum.
      • fromValue

        public static RubberStampIconType fromValue​(String v)
        Gets the enum associated to the value passed as parameter.
        Parameters:
        v - The value to get the enum from.
        Returns:
        The enum which corresponds to the value, if it exists.
        Throws:
        IllegalArgumentException - If no value matches in the enum declaration.