public class DeclarativeUIScreenResolver extends Object implements ScreenResourceResolver
| Constructor and Description |
|---|
DeclarativeUIScreenResolver() |
| Modifier and Type | Method and Description |
|---|---|
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 moduleId,
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
|
public Set<String> getAllAppModules()
ScreenResourceResolvergetAllAppModules in interface ScreenResourceResolverpublic Set<String> getAllScreenIDs(String module) throws ScreenConfigException
ScreenResourceResolvergetAllScreenIDs in interface ScreenResourceResolverScreenConfigExceptionpublic Document getRootView(String relativeScreenId, String moduleId, String device) throws CruxGeneratorException
ScreenResourceResolvergetRootView in interface ScreenResourceResolverCruxGeneratorExceptionpublic Document getRootView(String screenId, String device) throws CruxGeneratorException
ScreenResourceResolvergetRootView in interface ScreenResourceResolverCruxGeneratorExceptionpublic InputStream getScreenResource(String screenId) throws CruxGeneratorException
ScreenResourceResolvergetScreenResource in interface ScreenResourceResolverCruxGeneratorExceptionpublic InputStream getScreenResource(String screenId, String module) throws CruxGeneratorException
ScreenResourceResolvergetScreenResource in interface ScreenResourceResolverCruxGeneratorExceptionCopyright © 2015. All rights reserved.