Class Rev

  • All Implemented Interfaces:
    TagBase, AAttributable, java.io.Serializable, java.lang.Cloneable


    public class Rev
    extends AbstractAttribute
    implements AAttributable
    This attribute specifies a reverse link, the inverse relationship of the rel attribute. It is useful for indicating where an object came from, such as the author of a document. rev attribute for the element. NB: This attribute is not supported by html5.
    Since:
    1.0.0
    See Also:
    Serialized Form
    • Field Detail

      • ALTERNATE

        public static final java.lang.String ALTERNATE
        An alternate version of the document (i.e. print page, translated or mirror)
        See Also:
        Constant Field Values
      • STYLESHEET

        public static final java.lang.String STYLESHEET
        An external style sheet for the document
        See Also:
        Constant Field Values
      • START

        public static final java.lang.String START
        The first document in a selection
        See Also:
        Constant Field Values
      • NEXT

        public static final java.lang.String NEXT
        The next document in a selection
        See Also:
        Constant Field Values
      • PREV

        public static final java.lang.String PREV
        The previous document in a selection
        See Also:
        Constant Field Values
      • CONTENTS

        public static final java.lang.String CONTENTS
        A table of contents for the document
        See Also:
        Constant Field Values
      • INDEX

        public static final java.lang.String INDEX
        An index for the document
        See Also:
        Constant Field Values
      • GLOSSARY

        public static final java.lang.String GLOSSARY
        A glossary (explanation) of words used in the document
        See Also:
        Constant Field Values
      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        A document containing copyright information
        See Also:
        Constant Field Values
      • CHAPTER

        public static final java.lang.String CHAPTER
        A chapter of the document
        See Also:
        Constant Field Values
      • SECTION

        public static final java.lang.String SECTION
        A section of the document
        See Also:
        Constant Field Values
      • SUBSECTION

        public static final java.lang.String SUBSECTION
        A subsection of the document
        See Also:
        Constant Field Values
      • APPENDIX

        public static final java.lang.String APPENDIX
        An appendix for the document
        See Also:
        Constant Field Values
      • BOOKMARK

        public static final java.lang.String BOOKMARK
        A related document
        See Also:
        Constant Field Values
      • NOFOLLOW

        public static final java.lang.String NOFOLLOW
        "nofollow" is used by Google, to specify that the Google search spider should not follow that link (mostly used for paid links)
        See Also:
        Constant Field Values
    • Constructor Detail

      • Rev

        public Rev​(java.lang.String value)
        Parameters:
        value - the value for the attribute
        Since:
        1.0.0
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
        sets the value for this attribute
        Parameters:
        value - the value for the attribute.
        Since:
        1.0.0
      • getValue

        public java.lang.String getValue​()
        gets the value of this attribute
        Returns:
        the value of the attribute
        Since:
        1.0.0
      • init

        protected void init​()
        invokes only once per object
        Since:
        1.0.0