public class ScriptTextOutputCallback extends TextOutputCallback
TextOutputCallback
so that we can
differentiate scripts from normal textual information types (information, warning, error).Modifier and Type | Field and Description |
---|---|
static int |
SCRIPT |
ERROR, INFORMATION, WARNING
Constructor and Description |
---|
ScriptTextOutputCallback(String message)
Constructor that "creates" it as an INFORMATION TextOutputCallback.
|
Modifier and Type | Method and Description |
---|---|
int |
getMessageType()
Overrides the
TextOutputCallback 's messageType to always return that
we are a script. |
getMessage
public static final int SCRIPT
public ScriptTextOutputCallback(String message)
message
- The script which will be inserted into the page receiving this callbackpublic int getMessageType()
TextOutputCallback
's messageType to always return that
we are a script.getMessageType
in class TextOutputCallback
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.