org.ajax4jsf.javascript
Class JSWithDependencies
java.lang.Object
org.ajax4jsf.javascript.ScriptStringBase
org.ajax4jsf.javascript.JSWithDependencies
- All Implemented Interfaces:
- ScriptString, ScriptWithDependencies, ResourceLibrary
public class JSWithDependencies
- extends ScriptStringBase
- implements ScriptWithDependencies
Wrapper object that adds dependencies to any object whether it implements ScriptString
or not.
- Author:
- asmirnov@exadel.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JSWithDependencies
public JSWithDependencies(java.lang.Object wrapped,
java.lang.Iterable<ResourceKey> resources)
JSWithDependencies
public JSWithDependencies(java.lang.Object wrapped,
ResourceKey... resources)
getResources
public java.lang.Iterable<ResourceKey> getResources()
- Specified by:
getResources
in interface ResourceLibrary
appendScript
public void appendScript(java.lang.Appendable target)
throws java.io.IOException
- Description copied from interface:
ScriptString
- Append JavaScript code to @link
Appendable
- Specified by:
appendScript
in interface ScriptString
- Throws:
java.io.IOException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.