Package com.helger.xml.transform
Enum EXMLTransformTexts
- java.lang.Object
-
- java.lang.Enum<EXMLTransformTexts>
-
- com.helger.xml.transform.EXMLTransformTexts
-
- All Implemented Interfaces:
com.helger.commons.text.display.IHasDisplayText,Serializable,Comparable<EXMLTransformTexts>
@Translatable public enum EXMLTransformTexts extends Enum<EXMLTransformTexts> implements com.helger.commons.text.display.IHasDisplayText
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRANSFORMATION_ERRORTRANSFORMATION_FATAL_ERRORTRANSFORMATION_WARNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.helger.commons.text.IMultilingualTextgetAsMLT()StringgetDisplayText(Locale aContentLocale)static EXMLTransformTextsvalueOf(String name)Returns the enum constant of this type with the specified name.static EXMLTransformTexts[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSFORMATION_WARNING
public static final EXMLTransformTexts TRANSFORMATION_WARNING
-
TRANSFORMATION_ERROR
public static final EXMLTransformTexts TRANSFORMATION_ERROR
-
TRANSFORMATION_FATAL_ERROR
public static final EXMLTransformTexts TRANSFORMATION_FATAL_ERROR
-
-
Method Detail
-
values
public static EXMLTransformTexts[] 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 (EXMLTransformTexts c : EXMLTransformTexts.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EXMLTransformTexts 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
-
getDisplayText
@Nullable public String getDisplayText(@Nonnull Locale aContentLocale)
- Specified by:
getDisplayTextin interfacecom.helger.commons.text.display.IHasDisplayText
-
getAsMLT
@Nonnull public com.helger.commons.text.IMultilingualText getAsMLT()
-
-