public class ScriptablePrintWriter extends org.mozilla.javascript.ScriptableObject implements SlingWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME |
| Constructor and Description |
|---|
ScriptablePrintWriter() |
ScriptablePrintWriter(java.io.PrintWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
jsConstructor(java.lang.Object res) |
static void |
jsFunction_print(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_printf(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_println(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_write(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj) |
java.lang.Object |
unwrap() |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final java.lang.String CLASSNAME
public ScriptablePrintWriter()
public ScriptablePrintWriter(java.io.PrintWriter writer)
public void jsConstructor(java.lang.Object res)
public java.lang.String getClassName()
SlingWrappergetClassName in interface SlingWrappergetClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic java.lang.Class<?>[] getWrappedClasses()
SlingWrappergetWrappedClasses in interface SlingWrapperpublic static void jsFunction_write(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj)
public static void jsFunction_print(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj)
public static void jsFunction_printf(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj)
public static void jsFunction_println(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function funObj)
public java.lang.Object unwrap()
unwrap in interface org.mozilla.javascript.WrapperCopyright © 2018 The Apache Software Foundation. All rights reserved.