com.atlassian.confluence.plugin.descriptor
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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacroFallbackParser
public MacroFallbackParser(String filePath,
MacroMetadataParser macroMetadataParser)
- Throws:
PluginParseException
- if there is a problem reading the descriptor from the XML InputStream
.
getMetadata
public Map<String,MacroMetadata> getMetadata()