public class XmlDescriptorParserFactory extends Object implements DescriptorParserFactory
XmlDescriptorParser,
DescriptorParserFactory| Constructor and Description |
|---|
XmlDescriptorParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
DescriptorParser |
getInstance(InputStream source,
Set<Application> applications)
Creates a new
DescriptorParser for getting plugin descriptor information
from the provided source data. |
public DescriptorParser getInstance(InputStream source, 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 © 2014 Atlassian. All rights reserved.