java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroUtil

public class StorageMacroUtil extends Object
  • Constructor Details

    • StorageMacroUtil

      public StorageMacroUtil()
  • Method Details

    • 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.