MetaElement (gCube Share Updates Portlet 0.2.0-SNAPSHOT API)
Date: 2013-04-11

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All Rights Reserved.