public class XmlDescriptorParserFactory extends java.lang.Object implements DescriptorParserFactory
XmlDescriptorParser,
DescriptorParserFactory| Constructor and Description |
|---|
XmlDescriptorParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
DescriptorParser |
getInstance(java.io.InputStream source,
java.util.Set<Application> applications)
Creates a new
DescriptorParser for getting plugin descriptor information
from the provided source data. |
public DescriptorParser getInstance(java.io.InputStream source, java.util.Set<Application> applications) throws PluginParseException
DescriptorParserFactoryDescriptorParser for getting plugin descriptor information
from the provided source data.getInstance in interface DescriptorParserFactorysource - 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.PluginParseExceptionCopyright © 2013 Atlassian. All Rights Reserved.