Class LdpPreferTag
- java.lang.Object
-
- org.fcrepo.http.commons.domain.PreferTag
-
- org.fcrepo.http.commons.domain.ldp.LdpPreferTag
-
- All Implemented Interfaces:
Comparable<PreferTag>
public class LdpPreferTag extends PreferTag
A subclass ofPreferTagthat contemplates the possible preferences for Linked Data Platform requests.- Author:
- ajs6f
-
-
Constructor Summary
Constructors Constructor Description LdpPreferTag(PreferTag preferTag)Standard constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanpreferNoUserRdf()booleanprefersContainment()booleanprefersEmbed()booleanprefersMembership()booleanprefersReferences()booleanprefersServerManaged()
-
-
-
Constructor Detail
-
LdpPreferTag
public LdpPreferTag(PreferTag preferTag)
Standard constructor.- Parameters:
preferTag- the prefer tag
-
-
Method Detail
-
prefersMembership
public boolean prefersMembership()
- Returns:
- Whether this prefer tag demands membership triples.
-
prefersContainment
public boolean prefersContainment()
- Returns:
- Whether this prefer tag demands containment triples.
-
prefersReferences
public boolean prefersReferences()
- Returns:
- Whether this prefer tag demands references triples.
-
prefersEmbed
public boolean prefersEmbed()
- Returns:
- Whether this prefer tag demands embedded triples.
-
prefersServerManaged
public boolean prefersServerManaged()
- Returns:
- Whether this prefer tag demands server managed properties.
-
preferNoUserRdf
public boolean preferNoUserRdf()
- Returns:
- Whether this prefer tag demands no minimal container, ie. no user RDF.
-
-