Package net.webpdf.wsclient.openapi
Enum OperationTextHighlight.WordBreakEnum
- java.lang.Object
-
- java.lang.Enum<OperationTextHighlight.WordBreakEnum>
-
- net.webpdf.wsclient.openapi.OperationTextHighlight.WordBreakEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationTextHighlight.WordBreakEnum>
- Enclosing class:
- OperationTextHighlight
public static enum OperationTextHighlight.WordBreakEnum extends Enum<OperationTextHighlight.WordBreakEnum>
Can be used to configure the word wrap behaviour during highlighting Possible values: * auto = Automatic word wrap if necessary. * none = Suppress the addition of extra line breaks. * word = Line breaks allowed only after words. * all = Line breaks allowed unconditionally.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationTextHighlight.WordBreakEnumfromValue(String value)StringgetValue()StringtoString()static OperationTextHighlight.WordBreakEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationTextHighlight.WordBreakEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final OperationTextHighlight.WordBreakEnum AUTO
-
NONE
public static final OperationTextHighlight.WordBreakEnum NONE
-
WORD
public static final OperationTextHighlight.WordBreakEnum WORD
-
ALL
public static final OperationTextHighlight.WordBreakEnum ALL
-
-
Method Detail
-
values
public static OperationTextHighlight.WordBreakEnum[] 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 (OperationTextHighlight.WordBreakEnum c : OperationTextHighlight.WordBreakEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationTextHighlight.WordBreakEnum 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<OperationTextHighlight.WordBreakEnum>
-
fromValue
public static OperationTextHighlight.WordBreakEnum fromValue(String value)
-
-