Class TextNodeType

java.lang.Object
com.aquima.interactions.composer.ds.TextNodeType
All Implemented Interfaces:
Serializable

public final class TextNodeType extends Object implements Serializable
This class defines the types of content of documents.
Since:
6.0
Author:
O. Kerpershoek
See Also:
  • Field Details

    • ROOT

      public static final TextNodeType ROOT
      This member defines the ROOT text node type.
    • STYLE

      public static final TextNodeType STYLE
      This member defines the STYLE text node type.
    • FIELD

      public static final TextNodeType FIELD
      This member defines the FIELD text node type.
    • TEXT

      public static final TextNodeType TEXT
      This member defines the TEXT text node type.
    • CONDITION

      public static final TextNodeType CONDITION
      This member defines the CONDITION text node type.
  • Method Details

    • getName

      public String getName()
      This method returns the name of the node type.
      Returns:
      the name of the node type.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • valueOf

      public static TextNodeType valueOf(String name)
      The method returns the text node type based on a name (case insensitive lookup).
      Parameters:
      name - The name of the text node type.
      Returns:
      The text node type, never null
      Throws:
      IllegalArgumentException - Is thrown when no text node type is known for the supplied name.