public class EngineMessage extends Object implements Serializable
Title: EngineMessage bean object.
Description: Inspired by Struts ActionMessage, but more JavaBean compliant so that it can work with JSTL and better with Jahia's localization classes.
Copyright: Copyright (c) 2002
Company: Jahia Ltd
| Constructor and Description |
|---|
EngineMessage() |
EngineMessage(String key) |
EngineMessage(String key,
boolean resource) |
EngineMessage(String key,
Object... values) |
EngineMessage(String key,
String... values) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Get the message key for this message.
|
Object[] |
getValues()
Get the replacement values for this message.
|
boolean |
isResource()
Indicate whether the key is taken to be as a bundle key [true] or
literal value [false].
|
String |
toString()
Returns a String in the format: key[value1, value2, etc].
|
public EngineMessage()
public EngineMessage(String key)
public EngineMessage(String key, boolean resource)
public String getKey()
Get the message key for this message.
public Object[] getValues()
Get the replacement values for this message.
public boolean isResource()
Indicate whether the key is taken to be as a bundle key [true] or literal value [false].
true if the key is a bundle key;
false otherwise.public String toString()
Returns a String in the format: key[value1, value2, etc].
toString in class ObjectObject.toString()Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.