org.apache.sling.scripting.javascript
Interface SlingWrapper

All Superinterfaces:
org.mozilla.javascript.Wrapper
All Known Implementing Classes:
ScriptableCalendar, ScriptableNode, ScriptablePrintWriter, ScriptableProperty, ScriptableResource, ScriptableVersion, ScriptableVersionHistory

public interface SlingWrapper
extends org.mozilla.javascript.Wrapper

Wrapper with an additional methods to indicate the wrapped classes


Method Summary
 java.lang.String getClassName()
          The name of the JavaScript host object "class"
 java.lang.Class<?>[] getWrappedClasses()
          The list of Java classes wrapped by this wrapper
 
Methods inherited from interface org.mozilla.javascript.Wrapper
unwrap
 

Method Detail

getClassName

java.lang.String getClassName()
The name of the JavaScript host object "class"


getWrappedClasses

java.lang.Class<?>[] getWrappedClasses()
The list of Java classes wrapped by this wrapper



Copyright © 2007-2009. All Rights Reserved.