org.cruxframework.crux.core.rebind.screen
Class ScreenFactory

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.screen.ScreenFactory

public class ScreenFactory
extends Object

Creates a representation for Crux screens

Author:
Thiago Bustamante

Method Summary
 void clearScreenCache()
          Clear the screen cache
static ScreenFactory getInstance()
          Singleton method
 String getRelativeScreenId(String id, String module)
           
 Screen getScreen(String id, String device)
          Factory method for screens.
 String getScreenModule(Document source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ScreenFactory getInstance()
Singleton method

Returns:

clearScreenCache

public void clearScreenCache()
Clear the screen cache


getScreen

public Screen getScreen(String id,
                        String device)
                 throws ScreenConfigException
Factory method for screens.

Parameters:
id -
device - device property for this permutation being compiled
Returns:
Throws:
ScreenConfigException

getRelativeScreenId

public String getRelativeScreenId(String id,
                                  String module)
                           throws ScreenConfigException
Parameters:
id -
module -
Returns:
Throws:
ScreenConfigException

getScreenModule

public String getScreenModule(Document source)
                       throws ScreenConfigException
Parameters:
nodeList -
Returns:
Throws:
ScreenConfigException


Copyright © 2014. All rights reserved.