Class PublicationImpl

    • Field Detail

      • publisher

        private String publisher
        The publisher.
      • creationInstant

        private Instant creationInstant
        The creation instant.
      • publicationId

        private String publicationId
        The publicationId.
    • Constructor Detail

      • PublicationImpl

        protected PublicationImpl​(String namespaceURI,
                                  String elementLocalName,
                                  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

      • setPublisher

        public void setPublisher​(String thePublisher)
        Set the publisher.
        Specified by:
        setPublisher in interface Publication
        Parameters:
        thePublisher - the publisher
      • setCreationInstant

        public void setCreationInstant​(Instant dateTime)
        Set the creation instant.
        Specified by:
        setCreationInstant in interface Publication
        Parameters:
        dateTime - the instant
      • setPublicationId

        public void setPublicationId​(String id)
        Set the publicationId.
        Specified by:
        setPublicationId in interface Publication
        Parameters:
        id - the publicationIdr
      • 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