com.free2be.dimensions.tiles.inheritance
Interface InheritanceResolver

All Known Implementing Classes:
AbstractInheritanceResolverImpl, UserDeviceInheritanceResolver

public interface InheritanceResolver

This interface is used to resolve inheritances between Tiles definitions files, using the related decisions as a basis.


Method Summary
 void addDefinitionsPath(Decision decision, java.lang.String xmlDefinitionsPath)
          Adds a definition path, related to a specific decision.
 java.util.Collection getPathSequence(Decision decision)
          Returns the sequence of Tiles definitions files to load to correctly have the final XmlDefinitionsSet.
 void resolveInheritances()
          Resolves the inheritances between the submitted Tiles definitions files.
 

Method Detail

addDefinitionsPath

void addDefinitionsPath(Decision decision,
                        java.lang.String xmlDefinitionsPath)
Adds a definition path, related to a specific decision.

Parameters:
decision - The decision to assign to the specified Tiles definitions file.
xmlDefinitionsPath - The path to the Tiles definitions file.

resolveInheritances

void resolveInheritances()
                         throws java.lang.Exception
Resolves the inheritances between the submitted Tiles definitions files.

Throws:
java.lang.Exception - If something goes wrong.

getPathSequence

java.util.Collection getPathSequence(Decision decision)
Returns the sequence of Tiles definitions files to load to correctly have the final XmlDefinitionsSet.

Parameters:
decision - The decision to be used.
Returns:
A list containing Strings that indicate the paths of files to load.