|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.sandbox.security.trust.message.token.AbstractToken
org.apache.ws.sandbox.security.trust.message.token.CompositeElement
org.apache.ws.sandbox.security.trust.message.token.Lifetime
Field Summary | |
static javax.xml.namespace.QName |
TOKEN
|
Fields inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken |
document, element |
Constructor Summary | |
Lifetime(org.w3c.dom.Document doc,
int duration)
Constructor for Lifetime |
|
Lifetime(org.w3c.dom.Document doc,
java.lang.String created,
java.lang.String expires)
Constructor for Lifetime |
|
Lifetime(org.w3c.dom.Element elem)
Constructor for Lifetime Check for created and epires elements |
Method Summary | |
protected void |
deserializeChildElement(org.w3c.dom.Element elem)
This is called for each of the immediate child elements of type Node.ELEMENT_NODE of this token |
java.lang.String |
getCreated()
Retuns the value of the wsu:Created child element |
java.lang.String |
getExpires()
Returns the value of the wsu:Expires element |
protected javax.xml.namespace.QName |
getToken()
Returns the QName of this type |
void |
setCreated(java.lang.String value)
Sets the value of the wsu:Created element |
void |
setExpires(java.lang.String value)
Sets the value of the wsu:Expires element |
Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.CompositeElement |
setElementTextValue |
Methods inherited from class org.apache.ws.sandbox.security.trust.message.token.AbstractToken |
addChild, getElement, parse, removeChild, setElement, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final javax.xml.namespace.QName TOKEN
Constructor Detail |
public Lifetime(org.w3c.dom.Document doc, java.lang.String created, java.lang.String expires)
doc
- created
- expires
- public Lifetime(org.w3c.dom.Element elem) throws WSTrustException
elem
-
WSSecurityException
WSTrustException
public Lifetime(org.w3c.dom.Document doc, int duration)
doc
- duration
- in minutesMethod Detail |
public java.lang.String getCreated()
wsu:Created
child element
public java.lang.String getExpires()
wsu:Expires
element
public void setCreated(java.lang.String value)
wsu:Created
element
value
- public void setExpires(java.lang.String value)
wsu:Expires
element
value
- protected javax.xml.namespace.QName getToken()
getToken
in class AbstractToken
AbstractToken.getToken()
protected void deserializeChildElement(org.w3c.dom.Element elem) throws WSTrustException
AbstractToken
Node.ELEMENT_NODE
of this token
deserializeChildElement
in class AbstractToken
elem
- The child element
WSTrustException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |