Class Stax2Util

java.lang.Object
org.codehaus.stax2.ri.Stax2Util
All Implemented Interfaces:
XMLStreamConstants

public final class Stax2Util extends Object implements XMLStreamConstants
  • Method Details

    • eventTypeDesc

      public static String eventTypeDesc(int type)
      Method that converts given standard Stax event type into textual representation.
    • trimSpaces

      public static String trimSpaces(String lexical)
      Method called to trim leading and/or trailing space that given lexical value has.
      Returns:
      Trimmed value if lexical had at least one non-space character; null otherwise