org.cruxframework.crux.core.rebind.screen
Interface ScreenResourceResolver

All Known Implementing Classes:
DeclarativeUIScreenResolver

public interface ScreenResourceResolver

Author:
Thiago da Rosa de Bustamante

Method Summary
 Set<String> getAllAppModules()
          List all modules that have at least one crux.xml page (and needs to be compiled)
 Set<String> getAllScreenIDs(String module)
          List all Crux screen IDs
 Document getRootView(String screenId, String device)
          Gets the Document representing the root view for a given screenId
 Document getRootView(String relativeScreenId, String module, String device)
          Gets the Document representing the root view for a given screenId
 InputStream getScreenResource(String screenId)
          Gets the inputStream for a given screenId
 InputStream getScreenResource(String screenId, String module)
          Gets the inputStream for a given screenId
 

Method Detail

getScreenResource

InputStream getScreenResource(String screenId)
                              throws CruxGeneratorException
Gets the inputStream for a given screenId

Parameters:
screenId -
Returns:
Throws:
CruxGeneratorException

getScreenResource

InputStream getScreenResource(String screenId,
                              String module)
                              throws CruxGeneratorException
Gets the inputStream for a given screenId

Parameters:
screenId -
module -
Returns:
Throws:
CruxGeneratorException

getRootView

Document getRootView(String screenId,
                     String device)
                     throws CruxGeneratorException
Gets the Document representing the root view for a given screenId

Parameters:
screenId -
device -
Returns:
Throws:
CruxGeneratorException

getRootView

Document getRootView(String relativeScreenId,
                     String module,
                     String device)
                     throws CruxGeneratorException
Gets the Document representing the root view for a given screenId

Parameters:
relativeScreenId -
module -
device -
Returns:
Throws:
CruxGeneratorException

getAllScreenIDs

Set<String> getAllScreenIDs(String module)
                            throws ScreenConfigException
List all Crux screen IDs

Returns:
Throws:
ScreenConfigException

getAllAppModules

Set<String> getAllAppModules()
List all modules that have at least one crux.xml page (and needs to be compiled)

Returns:


Copyright © 2014. All rights reserved.