|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openxri.saml.Conditions
public class Conditions
This class provides encapsulation of a SAML 2.0 Conditions element
Constructor Summary | |
---|---|
Conditions()
Creates an empty SAML conditions element |
|
Conditions(org.w3c.dom.Element oElem)
This method populates the object from DOM. |
Method Summary | |
---|---|
java.lang.String |
dump(java.lang.String sTab)
Returns object as a formatted XML string. |
void |
fromDOM(org.w3c.dom.Element oElem)
This method populates the object from DOM. |
java.util.Date |
getNotAfter()
Returns the notOnOrAfter attribute |
java.util.Date |
getNotBefore()
Returns the notBefore attribute |
boolean |
isValid()
Returns true if the current time is within the notBefore and NotOnOrAfter attributes. |
void |
reset()
Resets the internal state of this object |
void |
setNotAfter(java.util.Date oVal)
Sets the notOnOrAfter attribute |
void |
setNotBefore(java.util.Date oVal)
Sets the notBefore attribute |
org.w3c.dom.Element |
toDOM(org.w3c.dom.Document oDoc)
This method will make DOM using the specified document. |
java.lang.String |
toString()
Returns formatted object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Conditions()
public Conditions(org.w3c.dom.Element oElem)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump(java.lang.String sTab)
sTab
- - The characters to prepend before each new linepublic void reset()
public void fromDOM(org.w3c.dom.Element oElem)
public boolean isValid()
public org.w3c.dom.Element toDOM(org.w3c.dom.Document oDoc)
oDoc
- - The document to use for generating DOMpublic java.util.Date getNotAfter()
public void setNotAfter(java.util.Date oVal)
public java.util.Date getNotBefore()
public void setNotBefore(java.util.Date oVal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |