public class

XmlDescriptorParserFactory

extends Object
implements DescriptorParserFactory
java.lang.Object
   ↳ com.atlassian.plugin.parsers.XmlDescriptorParserFactory

Class Overview

Creates XML descriptor parser instances.

Summary

Public Constructors
XmlDescriptorParserFactory()
Public Methods
DescriptorParser getInstance(InputStream source, String... applicationKeys)
@return
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.parsers.DescriptorParserFactory

Public Constructors

public XmlDescriptorParserFactory ()

Public Methods

public DescriptorParser getInstance (InputStream source, String... applicationKeys)

@return

Parameters
source the stream of data which represents the descriptor. The stream will only be read once, so it need not be resettable.
applicationKeys the identifier of the current application to use to match modules, if specified. Null to match only modules with no application key.
Returns
  • an instance of the descriptor parser tied to this InputStream