Class JavaScriptStackSourceImpl
java.lang.Object
org.apache.tapestry5.internal.services.javascript.JavaScriptStackSourceImpl
- All Implemented Interfaces:
JavaScriptStackSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a stack by name (ignoring case).findStackForJavaScriptLibrary
(Resource resource) Attempts to find the stack containing the indicated JavaScript library.Gets a stack by name (ignoring case).Returns the names of all stacks, in sorted order.
-
Constructor Details
-
JavaScriptStackSourceImpl
-
-
Method Details
-
getStack
Description copied from interface:JavaScriptStackSource
Gets a stack by name (ignoring case).- Specified by:
getStack
in interfaceJavaScriptStackSource
- Returns:
- named stack
-
findStack
Description copied from interface:JavaScriptStackSource
Gets a stack by name (ignoring case).- Specified by:
findStack
in interfaceJavaScriptStackSource
- Returns:
- named stack, or null if not found
-
getStackNames
Description copied from interface:JavaScriptStackSource
Returns the names of all stacks, in sorted order.- Specified by:
getStackNames
in interfaceJavaScriptStackSource
-
findStackForJavaScriptLibrary
Description copied from interface:JavaScriptStackSource
Attempts to find the stack containing the indicated JavaScript library.- Specified by:
findStackForJavaScriptLibrary
in interfaceJavaScriptStackSource
- Parameters:
resource
- identifies a potential JavaScript Library- Returns:
- the stack if found, or null
- See Also:
-