Package org.primefaces.model.seo
Class JsonLDModel
- java.lang.Object
-
- org.primefaces.model.seo.JsonLDModel
-
- All Implemented Interfaces:
Serializable
public class JsonLDModel extends Object implements Serializable
JSON for Linking Data Model. Data is messy and disconnected. JSON-LD organizes and connects it, creating a better Web.- Since:
- 12.0.0
- See Also:
- JSON for Linking Data, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonLDModel()
JsonLDModel(String context, String type)
JsonLDModel(String context, String type, String itemListType)
JsonLDModel(String context, String type, String itemListType, List<JsonLDItem> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContext()
String
getItemListType()
List<JsonLDItem>
getItems()
String
getType()
void
setContext(String context)
void
setItemListType(String itemListType)
void
setItems(List<JsonLDItem> items)
void
setType(String type)
-
-
-
Constructor Detail
-
JsonLDModel
public JsonLDModel()
-
JsonLDModel
public JsonLDModel(String context, String type, String itemListType, List<JsonLDItem> items)
-
-
Method Detail
-
getContext
public String getContext()
-
setContext
public void setContext(String context)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getItems
public List<JsonLDItem> getItems()
-
setItems
public void setItems(List<JsonLDItem> items)
-
getItemListType
public String getItemListType()
-
setItemListType
public void setItemListType(String itemListType)
-
-