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:
com.sun.xml.ws.security.trust.elements.Lifetime
public class LifetimeImpl
extends LifetimeType
implements com.sun.xml.ws.security.trust.elements.Lifetime
- Author:
- Manveen Kaur
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.LifetimeType
created, expires -
Constructor Summary
ConstructorsConstructorDescriptionLifetimeImpl(LifetimeType ltType) LifetimeImpl(com.sun.xml.ws.security.wsu10.AttributedDateTime created, com.sun.xml.ws.security.wsu10.AttributedDateTime expires) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, setExpiresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.security.trust.elements.Lifetime
getCreated, getExpires, setCreated, setExpires
-
Constructor Details
-
LifetimeImpl
public LifetimeImpl() -
LifetimeImpl
public LifetimeImpl(com.sun.xml.ws.security.wsu10.AttributedDateTime created, com.sun.xml.ws.security.wsu10.AttributedDateTime expires) -
LifetimeImpl
-
-
Method Details
-
fromElement
public static LifetimeType fromElement(Element element) throws com.sun.xml.ws.api.security.trust.WSTrustException Constructs aLifetimeelement from an existing XML block.- Parameters:
element-org.w3c.dom.Elementrepresenting DOM tree forLifetimeobject.- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-