Enum Class SeparatorType

java.lang.Object
java.lang.Enum<SeparatorType>
io.vertigo.commons.script.SeparatorType
All Implemented Interfaces:
Serializable, Comparable<SeparatorType>, Constable

public enum SeparatorType extends Enum<SeparatorType>
Type de séparateur. Permet de définir les types de séparateurs utilisés dans les fichiers.
Author:
pchretien
  • Enum Constant Details

    • XML

      public static final SeparatorType XML
      Séparateurs de type XML/HTML.
    • CLASSIC

      public static final SeparatorType CLASSIC
      Séparateur de type text.
    • XML_CODE

      public static final SeparatorType XML_CODE
      Séparateur de code dans du XML.
  • Field Details

    • BEGIN_SEPARATOR_CLASSIC

      public static final String BEGIN_SEPARATOR_CLASSIC
      Début d'une balise d'évaluation classique.
      See Also:
    • END_SEPARATOR_CLASSIC

      public static final String END_SEPARATOR_CLASSIC
      Fin d'une balise d'évaluation classique.
      See Also:
  • Method Details

    • values

      public static SeparatorType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SeparatorType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSeparator

      public ScriptSeparator getSeparator()
      Returns:
      Liste des ScriptSeparator pour ce SeparatorType.