Class XSDateTimeImpl

    • Field Detail

      • value

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

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

      • 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