|
||||||||||
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.SpecVersionAssertion
This assertion specifies a version of a particular specification. XML fragment may look like: <wsp:SpecVersion wsp:Usage="..." URI="..." wsp:Preference="..."? > </wsp:SpecVersion> where the URI attribute represents the URI of specification.
Constructor Summary | |
SpecVersionAssertion(javax.xml.transform.Source content)
Loads this assertion from given XML source. |
|
SpecVersionAssertion(java.lang.String uri,
PolicyUsage usage)
Creates this assertion with given URI. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Assertions are equal when URI is equal |
javax.xml.transform.Source |
getContent()
Gets XML content of this assertion. |
java.lang.String |
getURI()
Get URI of this assertion |
int |
hashCode()
Hashcode of URI |
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 SpecVersionAssertion(javax.xml.transform.Source content) throws PolicyException
content
- XML source
PolicyException
- when an error occurs during the assertion loadingpublic SpecVersionAssertion(java.lang.String uri, PolicyUsage usage)
uri
- URI of the versionusage
- PolicyUsage
Method Detail |
public java.lang.String getURI()
public javax.xml.transform.Source getContent() throws PolicyException
getContent
in class PolicyAssertion
PolicyException
- when an error occurspublic boolean equals(java.lang.Object o)
o
-
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |