Class StorageMacroUtil
java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
StorageMacroUtil
public StorageMacroUtil()
-
-
Method Details
-
isMacroElement
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
Returns true if xmlFragment starts with a macro or structured-macro tag.
-