public class Notification extends Object
Notification
class represents a notification. The most
important information in this Notification object is the content of this
notification. The content in this Notification object can be an arbitrary
String. This makes it possible that high level services and applications can
define their own notification XML DTDs and then embed the corresponding XML
document into this Notification object as its content.NotificationSet
Constructor and Description |
---|
Notification(String content)
Constructs an instance of Notification class with the content of the
Notification.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets the content of the Notification.
|
String |
getDtdID()
Gets the ID of the DTD for the content of the Notification
|
void |
setContent(String content)
Sets the content of the Notification.
|
void |
setDtdID(String id)
Sets the ID of the DTD for the content of the Notification
|
public Notification(String content)
content
- The content of this Notification.public String getDtdID()
public String getContent()
public void setDtdID(String id)
id
- The ID of the DTD for the content of the Notification.public void setContent(String content)
content
- The content of the Notification in String format.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.