com.atlassian.confluence.plugin.descriptor
Class MacroFallbackParser

java.lang.Object
  extended by 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
MacroFallbackParser(String filePath, MacroMetadataParser macroMetadataParser)
           
 
Method Summary
 Map<String,MacroMetadata> getMetadata()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroFallbackParser

public MacroFallbackParser(String filePath,
                           MacroMetadataParser macroMetadataParser)
Throws:
com.atlassian.plugin.PluginParseException - if there is a problem reading the descriptor from the XML InputStream.
Method Detail

getMetadata

public Map<String,MacroMetadata> getMetadata()


Copyright © 2003-2013 Atlassian. All Rights Reserved.