org.schmant.project.intellij
Interface IprFileVersionParser

All Known Implementing Classes:
IprFileV4Parser

public interface IprFileVersionParser

This interface is implemented by classes that parse different versions of .ipr files. IprFileParserImpl has a registry of parsers keyed under the file versions they are implemented to parse.

Parser objects are reused and can potentially be used simultaneously by several threads, so they cannot contain any mutable internal state that is not properly guarded.

Since:
0.7.1
Author:
Karl Gustafsson

Method Summary
 IprSettings parse(DirectoryView wosRoot, Document d)
          Parse the DOM Document.
 

Method Detail

parse

IprSettings parse(DirectoryView wosRoot,
                  Document d)
Parse the DOM Document.

Parameters:
wosRoot - The workspace root directory.
d - The ipr file contents.
Returns:
Data from the ipr file.