Class XSDateTimeImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.core.xml.schema.impl.XSDateTimeImpl
All Implemented Interfaces:
XSDateTime, XMLObject

public class XSDateTimeImpl extends AbstractXMLObject implements XSDateTime
Concrete implementation of XSDateTime.
  • Field Details

    • value

      private Instant value
      Value of this dateTime element.
  • Constructor Details

    • XSDateTimeImpl

      protected XSDateTimeImpl(@Nullable String namespaceURI, @Nonnull @NotEmpty String elementLocalName, @Nullable String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getValue

      @Nullable public Instant getValue()
      Gets the dateTime value.
      Specified by:
      getValue in interface XSDateTime
      Returns:
      the dateTime value
    • setValue

      public void setValue(@Nullable Instant newValue)
      Sets the dateTime value.
      Specified by:
      setValue in interface XSDateTime
      Parameters:
      newValue - the dateTime value
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements