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

java.lang.Object
  extended by 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
MetaElement(OpenGraphNamespace namespace, String property, String content)
          Construct the representation of an element
 
Method Summary
 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 © 2014. All Rights Reserved.