Class LdpPreferTag
- java.lang.Object
-
- org.fcrepo.http.commons.domain.PreferTag
-
- org.fcrepo.http.commons.domain.ldp.LdpPreferTag
-
- All Implemented Interfaces:
Comparable<PreferTag>
,LdpTriplePreferences
public class LdpPreferTag extends PreferTag implements LdpTriplePreferences
A subclass ofPreferTag
that contemplates the possible preferences for Linked Data Platform requests.- Author:
- ajs6f
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.fcrepo.kernel.api.rdf.LdpTriplePreferences
LdpTriplePreferences.PreferChoice
-
-
Constructor Summary
Constructors Constructor Description LdpPreferTag(PreferTag preferTag)
Standard constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
displayContainment()
boolean
displayEmbed()
boolean
displayMembership()
boolean
displayReferences()
boolean
displayServerManaged()
boolean
displayUserRdf()
-
-
-
Constructor Detail
-
LdpPreferTag
public LdpPreferTag(PreferTag preferTag)
Standard constructor.- Parameters:
preferTag
- the prefer tag
-
-
Method Detail
-
displayUserRdf
public boolean displayUserRdf()
- Specified by:
displayUserRdf
in interfaceLdpTriplePreferences
- Returns:
- Whether to display user rdf based on this preference tag and internal defaults.
-
displayMembership
public boolean displayMembership()
- Specified by:
displayMembership
in interfaceLdpTriplePreferences
- Returns:
- Whether to display membership triples based on this preference tag and internal defaults.
-
displayContainment
public boolean displayContainment()
- Specified by:
displayContainment
in interfaceLdpTriplePreferences
- Returns:
- Whether to display containment triples based on this preference tag and internal defaults.
-
displayReferences
public boolean displayReferences()
- Specified by:
displayReferences
in interfaceLdpTriplePreferences
- Returns:
- Whether to display inbound reference triples based on this preference tag and internal defaults.
-
displayEmbed
public boolean displayEmbed()
- Specified by:
displayEmbed
in interfaceLdpTriplePreferences
- Returns:
- Whether to display contained resources' triples based on this preference tag and internal defaults.
-
displayServerManaged
public boolean displayServerManaged()
- Specified by:
displayServerManaged
in interfaceLdpTriplePreferences
- Returns:
- Whether to display server managed triples based on this preference tag and internal defaults.
-
-