Class 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 Detail

      • 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​(LifetimeType ltType)
    • Method Detail

      • fromElement

        public static LifetimeType fromElement​(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.