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:
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
  • 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

      public LifetimeImpl(@NotNull LifetimeType ltType)
  • Method Details

    • fromElement

      public static LifetimeType fromElement(@NotNull Element element) throws com.sun.xml.ws.api.security.trust.WSTrustException
      Constructs a Lifetime element from an existing XML block.
      Parameters:
      element - org.w3c.dom.Element representing DOM tree for Lifetime object.
      Throws:
      com.sun.xml.ws.api.security.trust.WSTrustException - if it could not process the org.w3c.dom.Element properly, implying that there is an error in the sender or in the element definition.