com.liferay.faces.util.client
Class ScriptWrapper

java.lang.Object
  extended by com.liferay.faces.util.client.ScriptWrapper
All Implemented Interfaces:
Script, javax.faces.FacesWrapper<Script>

public abstract class ScriptWrapper
extends Object
implements Script, javax.faces.FacesWrapper<Script>

Provides a simple implementation of Script that can be subclassed in order to decorate another instance of the same type.

Author:
Kyle Stiemann

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.liferay.faces.util.client.Script
Script.ModulesType
 
Constructor Summary
ScriptWrapper()
           
 
Method Summary
 String[] getModules()
          Returns An array of modules which the Script depends on.
 Script.ModulesType getModulesType()
          Returns The Script.ModulesType of the Script.
 String getSourceCode()
          Returns The Script's text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.FacesWrapper
getWrapped
 

Constructor Detail

ScriptWrapper

public ScriptWrapper()
Method Detail

getModules

public String[] getModules()
Description copied from interface: Script
Returns An array of modules which the Script depends on. Returns null if the Script does not depend on any modules.

Specified by:
getModules in interface Script
See Also:
Script.getModules()

getModulesType

public Script.ModulesType getModulesType()
Description copied from interface: Script
Returns The Script.ModulesType of the Script.

Specified by:
getModulesType in interface Script
See Also:
Script.getModulesType()

getSourceCode

public String getSourceCode()
Description copied from interface: Script
Returns The Script's text.

Specified by:
getSourceCode in interface Script
See Also:
Script.getSourceCode()


Copyright © 2019 Liferay, Inc.. All rights reserved.