Package com.sun.identity.policy.remote
Class PolicyNotification
- java.lang.Object
-
- com.sun.identity.policy.remote.PolicyNotification
-
public class PolicyNotification extends Object
ThisPolicyNotificationclass represents a PolicyNotification XML document. The PolicyNotification DTD is defined as the following:
-
-
Field Summary
Fields Modifier and Type Field Description static intPOLICY_CHANGE_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNotificationId()Returns the notification Id of this notification.intgetNotificationType()Returns the notification type of this notification.PolicyChangeNotificationgetPolicyChangeNotification()Returns the notification Id of this notification.static PolicyNotificationparseXML(Node pNode)Returns aPolicyNotificationobject constructed from a XML.StringtoXMLString()Returns a XML representation of this object.
-
-
-
Field Detail
-
POLICY_CHANGE_TYPE
public static final int POLICY_CHANGE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNotificationType
public int getNotificationType()
Returns the notification type of this notification.- Returns:
- notification type.
-
getNotificationId
public String getNotificationId()
Returns the notification Id of this notification.- Returns:
- notification Id.
-
getPolicyChangeNotification
public PolicyChangeNotification getPolicyChangeNotification()
Returns the notification Id of this notification.- Returns:
- notification Id.
-
parseXML
public static PolicyNotification parseXML(Node pNode) throws PolicyEvaluationException
Returns aPolicyNotificationobject constructed from a XML.- Parameters:
pNode- the XML DOM node for thePolicyNotificationobject.- Returns:
- constructed
PolicyNotificationobject. - Throws:
PolicyEvaluationException- ifPolicyNotificationobject cannot be constructed.
-
toXMLString
public String toXMLString()
Returns a XML representation of this object.- Returns:
- a XML representation of this object.
-
-