Class LifetimeImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.bindings.LifetimeType
com.sun.xml.ws.security.trust.impl.elements.LifetimeImpl
- All Implemented Interfaces:
Lifetime
- Author:
- Manveen Kaur
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.LifetimeType
created, expires -
Constructor Summary
ConstructorsConstructorDescriptionLifetimeImpl(LifetimeType ltType) LifetimeImpl(AttributedDateTime created, 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.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
-
LifetimeImpl
-
-
Method Details
-
fromElement
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.
-