com.sun.im.provider
Class PolicyProvider.Result

java.lang.Object
  extended bycom.sun.im.provider.PolicyProvider.Result
Direct Known Subclasses:
PolicyProvider.AccessLevelResult
Enclosing class:
PolicyProvider

public static class PolicyProvider.Result
extends java.lang.Object

This class defines the results which can be returned after the evaluation of policy


Method Summary
 boolean equals(java.lang.Object o)
           
 PolicyProvider.Result getCopy(java.lang.String message, org.w3c.dom.Element elm)
          This method should be used to convey addtional information about the result
 org.w3c.dom.Element getElement()
          Returns a Element associated with this result
 java.lang.String getMessage()
          Get a message associated with this result
 java.lang.String getStandardCondition()
          Returns a standard condition corresponding to this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCopy

public PolicyProvider.Result getCopy(java.lang.String message,
                                     org.w3c.dom.Element elm)
This method should be used to convey addtional information about the result

Parameters:
message - More information about the result
elm - An XML element containing more information about the result.

getStandardCondition

public java.lang.String getStandardCondition()
Returns a standard condition corresponding to this object


getElement

public org.w3c.dom.Element getElement()
Returns a Element associated with this result


getMessage

public java.lang.String getMessage()
Get a message associated with this result


equals

public boolean equals(java.lang.Object o)