Class LifetimeImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.wssx.bindings.LifetimeType
-
- com.sun.xml.ws.security.trust.impl.wssx.elements.LifetimeImpl
-
- All Implemented Interfaces:
Lifetime
public class LifetimeImpl extends LifetimeType implements Lifetime
- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.LifetimeType
created, expires
-
-
Constructor Summary
Constructors Constructor Description LifetimeImpl()LifetimeImpl(LifetimeType ltType)LifetimeImpl(AttributedDateTime created, AttributedDateTime expires)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LifetimeTypefromElement(Element element)Constructs aLifetimeelement from an existing XML block.-
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.LifetimeType
getCreated, getExpires, setCreated, setExpires
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.security.trust.elements.Lifetime
getCreated, getExpires, setCreated, setExpires
-
-
-
-
Constructor Detail
-
LifetimeImpl
public LifetimeImpl()
-
LifetimeImpl
public LifetimeImpl(AttributedDateTime created, AttributedDateTime expires)
-
LifetimeImpl
public LifetimeImpl(LifetimeType ltType)
-
-
Method Detail
-
fromElement
public static LifetimeType fromElement(Element element) throws WSTrustException
Constructs aLifetimeelement from an existing XML block.- Parameters:
element-org.w3c.dom.Elementrepresenting DOM tree forLifetimeobject.- Throws:
WSTrustException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-
-