Class MacroFallbackParser
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.MacroFallbackParser
-
public class MacroFallbackParser extends Object
Provides access to the descriptor information retrieved from an xml file for macro meta data. This is only a fallback mechanism to retrieve macro information from a single file. Configuration from the xml should be slowly migrated to the appropriate plugins.Note, this class uses the dom4j
SAXReader
to parse the XML file.Derived from
XmlDescriptorParser
.
-
-
Constructor Summary
Constructors Constructor Description MacroFallbackParser(String filePath, MacroMetadataParser macroMetadataParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,MacroMetadata>
getMetadata()
-
-
-
Constructor Detail
-
MacroFallbackParser
public MacroFallbackParser(String filePath, MacroMetadataParser macroMetadataParser)
- Throws:
com.atlassian.plugin.PluginParseException
- if there is a problem reading the descriptor from the XMLInputStream
.
-
-
Method Detail
-
getMetadata
public Map<String,MacroMetadata> getMetadata()
-
-