Class StorageMacroUtil


  • public class StorageMacroUtil
    extends Object
    • Constructor Detail

      • StorageMacroUtil

        public StorageMacroUtil()
    • Method Detail

      • isMacroElement

        public static boolean isMacroElement​(StartElement startElement)
        Returns true if startElement is a macro or structured-macro element.
        Parameters:
        startElement -
        Returns:
        true if startElement is a macro or structured-macro element. Otherwise, return false.
      • isMacroElement

        public static boolean isMacroElement​(String xmlFragment)
        Returns true if xmlFragment starts with a macro or structured-macro tag.