Enum Class XmlParse

java.lang.Object
java.lang.Enum<XmlParse>
xmlparser.utils.XmlParse
All Implemented Interfaces:
Serializable, Comparable<XmlParse>, Constable

public enum XmlParse extends Enum<XmlParse>
  • Method Details

    • values

      public static XmlParse[] 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 XmlParse 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
    • getNameOfTag

      public static String getNameOfTag(String tag)
    • readLine

      public static String readLine(InputStreamReader in, char end) throws IOException
      Throws:
      IOException
    • readUntil

      public static String readUntil(InputStreamReader in, String end) throws IOException
      Throws:
      IOException
    • indexOfNonWhitespaceChar

      public static int indexOfNonWhitespaceChar(String input, int offset, Trimming.Trim trimmer)
    • indexOfWhitespaceChar

      public static int indexOfWhitespaceChar(String input, int offset, Trimming.Trim trimmer)