Package eu.clarin.sru.client.fcs
Class DataViewAdvanced
- java.lang.Object
-
- eu.clarin.sru.client.fcs.DataView
-
- eu.clarin.sru.client.fcs.DataViewAdvanced
-
public class DataViewAdvanced extends DataView
A Data View implementation that stores the content of a Advanced Data View.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataViewAdvanced.Layerstatic classDataViewAdvanced.Segmentstatic classDataViewAdvanced.Spanstatic classDataViewAdvanced.Unit
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataViewAdvanced(String pid, String ref, DataViewAdvanced.Unit unit, List<DataViewAdvanced.Layer> layers)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataViewAdvanced.Layer>getLayers()DataViewAdvanced.UnitgetUnit()-
Methods inherited from class eu.clarin.sru.client.fcs.DataView
getMimeType, getPid, getRef, isMimeType
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
The MIME type for CLARIN-FCS Advanced data views.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataViewAdvanced
protected DataViewAdvanced(String pid, String ref, DataViewAdvanced.Unit unit, List<DataViewAdvanced.Layer> layers)
Constructor.- Parameters:
pid- a persistent identifier ornullref- a reference URI ornullunit- the unit for offsets in this Data Viewlayers- the list of layers in this Data View- Throws:
NullPointerException- if any mandatory argument isnullIllegalArgumentException- if any argument is illegal
-
-
Method Detail
-
getUnit
public DataViewAdvanced.Unit getUnit()
-
getLayers
public List<DataViewAdvanced.Layer> getLayers()
-
-