Class XmlDescriptorParserFactory
java.lang.Object
com.atlassian.plugin.internal.parsers.XmlDescriptorParserFactory
- All Implemented Interfaces:
DescriptorParserFactory
Creates XML descriptor parser instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(InputStream source, Set<Application> applications) Creates a newDescriptorParserfor getting plugin descriptor information from the provided source data.
-
Constructor Details
-
XmlDescriptorParserFactory
public XmlDescriptorParserFactory()
-
-
Method Details
-
getInstance
Description copied from interface:DescriptorParserFactoryCreates a newDescriptorParserfor getting plugin descriptor information from the provided source data.- Specified by:
getInstancein interfaceDescriptorParserFactory- Parameters:
source- the stream of data which represents the descriptor. The stream will only be read once, so it need not be resettable.applications- the identifier of the current application to use to match modules, if specified. Null to match only modules with no application key.- Returns:
- Throws:
PluginParseException
-