Class ScriptablePrintWriter
java.lang.Object
org.mozilla.javascript.ScriptableObject
org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
- All Implemented Interfaces:
- Serializable,- SlingWrapper,- org.mozilla.javascript.ConstProperties,- org.mozilla.javascript.debug.DebuggableObject,- org.mozilla.javascript.Scriptable,- org.mozilla.javascript.Wrapper
public class ScriptablePrintWriter
extends org.mozilla.javascript.ScriptableObject
implements SlingWrapper
- See Also:
- 
Field SummaryFieldsFields inherited from class org.mozilla.javascript.ScriptableObjectCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface org.mozilla.javascript.ScriptableNOT_FOUND
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe name of the JavaScript host object "class".Class<?>[]The list of Java classes wrapped by this wrapper.voidjsConstructor(Object res) static voidjsFunction_print(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) static voidjsFunction_printf(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) static voidjsFunction_println(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) static voidjsFunction_write(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) unwrap()Methods inherited from class org.mozilla.javascript.ScriptableObjectassociateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
- 
Field Details- 
CLASSNAME- See Also:
 
 
- 
- 
Constructor Details- 
ScriptablePrintWriterpublic ScriptablePrintWriter()
- 
ScriptablePrintWriter
 
- 
- 
Method Details- 
jsConstructor
- 
getClassNameDescription copied from interface:SlingWrapperThe name of the JavaScript host object "class".- Specified by:
- getClassNamein interface- org.mozilla.javascript.Scriptable
- Specified by:
- getClassNamein interface- SlingWrapper
- Specified by:
- getClassNamein class- org.mozilla.javascript.ScriptableObject
- Returns:
- the class name
 
- 
getWrappedClassesDescription copied from interface:SlingWrapperThe list of Java classes wrapped by this wrapper.- Specified by:
- getWrappedClassesin interface- SlingWrapper
- Returns:
- the wrapped classes
 
- 
jsFunction_writepublic static void jsFunction_write(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) 
- 
jsFunction_printpublic static void jsFunction_print(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) 
- 
jsFunction_printfpublic static void jsFunction_printf(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) 
- 
jsFunction_printlnpublic static void jsFunction_println(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj) 
- 
unwrap- Specified by:
- unwrapin interface- org.mozilla.javascript.Wrapper
 
 
-