MetaElement (gCube Share Updates Portlet 1.7.0-3.7.0 API)
Date: 2015-05-19

org.gcube.portlets.user.shareupdates.server.opengraph

## Class MetaElement

- java.lang.Object
- - org.gcube.portlets.user.shareupdates.server.opengraph.MetaElement

-     public class MetaElement
      extends Object

  Represents OpenGraph enabled meta data for a specific document
  Author:
    Callum Jones

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetaElement(OpenGraphNamespace namespace, String property, String content)` Construct the representation of an element

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getContent()` Fetch the content string of the element
    `OpenGraphNamespace` | `getNamespace()` Fetch the OpenGraph namespace
    `String` | `getProperty()` Fetch the property of the element

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MetaElement

          public MetaElement(OpenGraphNamespace namespace,
                     String property,
                     String content)

      Construct the representation of an element
      Parameters:
        `namespace` - The namespace the element belongs to
        `property` - The property key
        `content` - The content or value of this element

  - ### Method Detail

    - #### getContent

          public String getContent()

      Fetch the content string of the element

    - #### getNamespace

          public OpenGraphNamespace getNamespace()

      Fetch the OpenGraph namespace

    - #### getProperty

          public String getProperty()

      Fetch the property of the element

Copyright © 2015. All Rights Reserved.