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
 String getClassName()
          The name of the JavaScript host object "class"
 Class<?>[] getWrappedClasses()
          The list of Java classes wrapped by this wrapper
 
Methods inherited from interface org.mozilla.javascript.Wrapper
unwrap
 

Method Detail

getClassName

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


getWrappedClasses

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



Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.