Class HTMLMetaTags

  • All Implemented Interfaces:

    
    public final class HTMLMetaTags
    
                        

    This class holds the information about HTML "meta" tags extracted from a page. Some special tags have convenience methods for easy checking.

    • Constructor Detail

      • HTMLMetaTags

        HTMLMetaTags(Node root, URL currURL)
    • Method Detail

      • getNoIndex

         final Boolean getNoIndex()

        A convenience method. Returns the current value of noIndex.

      • setNoIndex

         final Unit setNoIndex(Boolean noIndex)

        A convenience method. Returns the current value of noIndex.

      • getNoFollow

         final Boolean getNoFollow()

        A convenience method. Returns the current value of noFollow.

      • setNoFollow

         final Unit setNoFollow(Boolean noFollow)

        A convenience method. Returns the current value of noFollow.

      • getNoCache

         final Boolean getNoCache()

        A convenience method. Returns the current value of noCache.

      • setNoCache

         final Unit setNoCache(Boolean noCache)

        A convenience method. Returns the current value of noCache.

      • getGeneralTags

         final MultiMetadata getGeneralTags()

        Returns all collected values of the general meta tags. Property names are tag names, property values are "content" values.

      • getHttpEquivTags

         final Properties getHttpEquivTags()

        Returns all collected values of the "http-equiv" meta tags. Property names are tag names, property values are "content" values.

      • reset

         final Unit reset()

        Sets all boolean values to false. Clears all other tags.

      • walk

         final Unit walk(Node node)

        Utility class with indicators for the robots directives "noindex" and "nofollow", and HTTP-EQUIV/no-cache