Class PageMetaTag
Page meta tags are used in HTML documents to provide structured data about a web
page. They are usually part of the head section. Common tags are for example robots,
description or social tags like open graph (e.g. ‘og:title’).
Page meta tags can be obtained within:
and can be set at PageMetaData container object, which is always available
in the pipeline dictionary and is used as transfer object to fill the head area with meaningful
page meta tag elements.
Property Summary
Property Description ID : String (read-only)Returns the page meta tag ID. content : String (read-only)Returns the page meta tag content. name : Boolean (read-only)Returns true if the page meta tag type is name, false otherwise. property : Boolean (read-only)Returns true if the page meta tag type is property, false otherwise. title : Boolean (read-only)Returns true if the page meta tag type is title, false otherwise.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Method Description getContent ()Returns the page meta tag content. getID ()Returns the page meta tag ID. isName ()Returns true if the page meta tag type is name, false otherwise. isProperty ()Returns true if the page meta tag type is property, false otherwise. isTitle ()Returns true if the page meta tag type is title, false otherwise.
Methods inherited from class Object
assign , create , create , defineProperties , defineProperty , entries , freeze , fromEntries , getOwnPropertyDescriptor , getOwnPropertyNames , getOwnPropertySymbols , getPrototypeOf , hasOwnProperty , is , isExtensible , isFrozen , isPrototypeOf , isSealed , keys , preventExtensions , propertyIsEnumerable , seal , setPrototypeOf , toLocaleString , toString , valueOf , values
Property Details
ID
ID: String (read-only)
Returns the page meta tag ID.
content
content: String (read-only)
Returns the page meta tag content.
name
name: Boolean (read-only)
Returns true if the page meta tag type is name, false otherwise.
property
property: Boolean (read-only)
Returns true if the page meta tag type is property, false otherwise.
title
title: Boolean (read-only)
Returns true if the page meta tag type is title, false otherwise.
Method Details
getContent()
getContent(): String
Returns the page meta tag content.
Returns:
getID()
getID(): String
Returns the page meta tag ID.
Returns:
isName()
isName(): Boolean
Returns true if the page meta tag type is name, false otherwise.
Returns:
true if the page meta tag type is name, false otherwise
isProperty()
isProperty(): Boolean
Returns true if the page meta tag type is property, false otherwise.
Returns:
true if the page meta tag type is property, false otherwise
isTitle()
isTitle(): Boolean
Returns true if the page meta tag type is title, false otherwise.
Returns:
true if the page meta tag type is title, false otherwise