Class Util

java.lang.Object
org.libxmq.imp.Util

public class Util extends Object
Miscellaneous utilities for xmq processing.
  • Constructor Details

    • Util

      public Util()
      Creates the Util utility.
  • Method Details

    • isValidElementName

      public static boolean isValidElementName(String s)
      Checks if the string is a valid element name.
      Parameters:
      s - The string to check.
      Returns:
      True if s is a valid element name.
    • getXPath

      public static String getXPath(Object node)
      Returns the XPath of a node.
      Parameters:
      node - The node.
      Returns:
      The XPath of the node, or null.