OpenGraphPropertyParser class final

Open Graph Protocol implementations of MetaPropertyParser.

This parser will handle <meta> property which starting with og:

Open Graph Protocol is created by Facebook and become the major rich information metadata protocol for various social platform.

Constructors

OpenGraphPropertyParser()
Create parser for Open Graph Protocol.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
propertyNamePrefix String
Prefix of property's name which identify which rich information provider is used.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Element htmlHead) MetaInfo
Resolve rich information metadata from given htmlHead which is <head> Element in HTML.
inherited
resolveMetaTags(MetaInfoAssigner assigner, Iterable<PropertyPair> propertyPair) → void
Actual implementation of assigning MetaInfo given all <meta> Element with corresponded propertyNamePrefix.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited