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 class
DataViewAdvanced.Layer
static class
DataViewAdvanced.Segment
static class
DataViewAdvanced.Span
static class
DataViewAdvanced.Unit
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataViewAdvanced(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.Unit
getUnit()
-
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 ornull
ref
- a reference URI ornull
unit
- the unit for offsets in this Data Viewlayers
- the list of layers in this Data View- Throws:
NullPointerException
- if any mandatory argument isnull
IllegalArgumentException
- if any argument is illegal
-
-
Method Detail
-
getUnit
public DataViewAdvanced.Unit getUnit()
-
getLayers
public List<DataViewAdvanced.Layer> getLayers()
-
-