com.atlassian.plugin.parsers
Class XmlDescriptorParserFactory
java.lang.Object
com.atlassian.plugin.parsers.XmlDescriptorParserFactory
- All Implemented Interfaces:
- DescriptorParserFactory
public class XmlDescriptorParserFactory
- extends Object
- implements DescriptorParserFactory
Creates XML descriptor parser instances.
- See Also:
XmlDescriptorParser,
DescriptorParserFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlDescriptorParserFactory
public XmlDescriptorParserFactory()
getInstance
public DescriptorParser getInstance(InputStream source,
Set<Application> applications)
throws PluginParseException
- Description copied from interface:
DescriptorParserFactory
- Creates a new
DescriptorParser for getting plugin descriptor information
from the provided source data.
- Specified by:
getInstance in interface DescriptorParserFactory
- 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
Copyright © 2015 Atlassian. All rights reserved.