Class Revision

    • Constructor Detail

      • Revision

        public Revision()
        Creates a new Revision object.
      • Revision

        public Revision​(Revision original)
        Copy constructor.
        Parameters:
        original - the original object to duplicate.
    • Method Detail

      • getAuthor

        public String getAuthor()
        Gets the author attribute value.
        Returns:
        the author attribute value.
      • setAuthor

        public void setAuthor​(String author)
        Sets the value for the author attribute.
        Parameters:
        author - the value for the author attribute.
      • getDatetime

        public String getDatetime()
        Gets the value of the datetime attribute.
        Returns:
        the value of the datetime attribute.
      • setDatetime

        public void setDatetime​(String datetime)
        Sets the value of the datetime attribute.
        Parameters:
        datetime - the value of the datetime attribute.
      • getVersion

        public String getVersion()
        Gets the value of the version attribute.
        Returns:
        the value of the version attribute.
      • setVersion

        public void setVersion​(String version)
        Sets the value of the version attribute.
        Parameters:
        version - the value of the version attribute.
      • hasExtAttribute

        public boolean hasExtAttribute()
        Description copied from interface: IWithExtAttributes
        Indicates if at least one extension attribute is present.
        Specified by:
        hasExtAttribute in interface IWithExtAttributes
        Returns:
        true if at least one extension attribute is present; false otherwise.
      • getExtAttributeValue

        public String getExtAttributeValue​(String namespaceURI,
                                           String localName)
        Description copied from interface: IWithExtAttributes
        Gets the value for a given extension attribute.
        Specified by:
        getExtAttributeValue in interface IWithExtAttributes
        Parameters:
        namespaceURI - the URI of the namespace for the attribute.
        localName - the name of the attribute.
        Returns:
        the value of the extension attribute, or null if it does not exist.
      • getAttributesString

        public String getAttributesString()
        Gets the attributes string.
        Returns:
        the attributes string.
      • getOpeningTagName

        public String getOpeningTagName()
        Gets the opening revision tag name.
        Returns:
        the opening revision tag name.
      • getClosingTag

        public String getClosingTag()
        Gets the complete revision closing tag.
        Returns:
        the complete revision closing tag.