com.atlassian.confluence.plugin.descriptor
Class MacroFallbackParser

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.MacroFallbackParser

public class MacroFallbackParser
extends java.lang.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.

See Also:
XmlDescriptorParser, which this code is from.

Constructor Summary
MacroFallbackParser(java.lang.String filePath, MacroMetadataParser macroMetadataParser)
           
 
Method Summary
 java.util.Map<java.lang.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(java.lang.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 java.util.Map<java.lang.String,MacroMetadata> getMetadata()


Copyright © 2003-2010 Atlassian. All Rights Reserved.