|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.systinet.wasp.policy.PolicyElement
org.systinet.wasp.policy.PolicyAssertion
org.systinet.wasp.policy.assertion.ExpirationAssertion
This assertion specifies the expiration timestamp. It's defined in WS-Utility namespace. The lifetime of a WS-RM sequence may be established using this policy assertion.
| Constructor Summary | |
ExpirationAssertion(java.util.Date expires,
PolicyUsage usage)
Creates this assertion with given date. |
|
ExpirationAssertion(javax.xml.transform.Source content)
Loads this assertion from given XML source. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
javax.xml.transform.Source |
getContent()
Gets XML content of this assertion. |
java.util.Date |
getExpires()
Gets the expiration date of this assertion. |
int |
hashCode()
|
| Methods inherited from class org.systinet.wasp.policy.PolicyElement |
getParentElement, getPreference, getUsage, readStandardAttributes, setParentElement, setPreference, setUsage, writeStandardAttributes |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExpirationAssertion(javax.xml.transform.Source content)
throws PolicyException
content - XML source
PolicyException - when an error occurs during the assertion loading
public ExpirationAssertion(java.util.Date expires,
PolicyUsage usage)
expires - expiration dateusage - PolicyUsage| Method Detail |
public java.util.Date getExpires()
public javax.xml.transform.Source getContent()
throws PolicyException
getContent in class PolicyAssertionPolicyException - when an error occurspublic int hashCode()
public boolean equals(java.lang.Object obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||