Package net.webpdf.wsclient.openapi
Enum OperationMarkupAnnotation.MarkupTypeEnum
- java.lang.Object
-
- java.lang.Enum<OperationMarkupAnnotation.MarkupTypeEnum>
-
- net.webpdf.wsclient.openapi.OperationMarkupAnnotation.MarkupTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationMarkupAnnotation.MarkupTypeEnum>
- Enclosing class:
- OperationMarkupAnnotation
public static enum OperationMarkupAnnotation.MarkupTypeEnum extends Enum<OperationMarkupAnnotation.MarkupTypeEnum>
Used to set the type of markup. The following values are available: * highlight = Highlights text * underline = Underlines text with a straight line * strikeOut = Strikes text through * squiggly = Underlines text with a squiggly line
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationMarkupAnnotation.MarkupTypeEnumfromValue(String value)StringgetValue()StringtoString()static OperationMarkupAnnotation.MarkupTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationMarkupAnnotation.MarkupTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIGHLIGHT
public static final OperationMarkupAnnotation.MarkupTypeEnum HIGHLIGHT
-
UNDERLINE
public static final OperationMarkupAnnotation.MarkupTypeEnum UNDERLINE
-
STRIKEOUT
public static final OperationMarkupAnnotation.MarkupTypeEnum STRIKEOUT
-
SQUIGGLY
public static final OperationMarkupAnnotation.MarkupTypeEnum SQUIGGLY
-
-
Method Detail
-
values
public static OperationMarkupAnnotation.MarkupTypeEnum[] 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 (OperationMarkupAnnotation.MarkupTypeEnum c : OperationMarkupAnnotation.MarkupTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationMarkupAnnotation.MarkupTypeEnum 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationMarkupAnnotation.MarkupTypeEnum>
-
fromValue
public static OperationMarkupAnnotation.MarkupTypeEnum fromValue(String value)
-
-