Class StorageMacroUtil
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroUtil
-
public class StorageMacroUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description StorageMacroUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isMacroElement(String xmlFragment)
Returns true if xmlFragment starts with a macro or structured-macro tag.static boolean
isMacroElement(StartElement startElement)
Returns true if startElement is a macro or structured-macro element.
-
-
-
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.
-
-