eu.clarin.weblicht.wlfxb.ed.xb
Class ExternalDataStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.ed.xb.ExternalDataStored
All Implemented Interfaces:
ExternalData

public class ExternalDataStored
extends Object
implements ExternalData

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
static String XML_NAMESPACE
           
 
Constructor Summary
ExternalDataStored()
           
 
Method Summary
static ExternalDataStored compose(ExternalDataLayerStored... layers)
          Composes the layers into one document.
 CanonicalSegmentationLayer createCanonicalSegmentationLayer(String mimeType)
           
 NamedEntityModelLayer createNamedEntityModelLayer(String mimeType, String neType, String modelType)
           
 PhoneticSegmentationLayer createPhoneticSegmentationLayer(String mimeType)
           
 SpeechSignalLayer createSpeechSignalLayer(String mimeType)
           
 SpeechSignalLayer createSpeechSignalLayer(String mimeType, int numberOfChannels)
           
 TokenSegmentationLayer createTokenSegmentationLayer(String mimeType)
           
 CanonicalSegmentationLayerStored getCanonicalSegmentationLayer()
           
 List<ExternalDataLayer> getLayers()
           
 NamedEntityModelLayerStored getNamedEntityModelLayer()
           
 PhoneticSegmentationLayerStored getPhoneticSegmentationLayer()
           
 SpeechSignalLayerStored getSpeechSignalLayer()
           
 TokenSegmentationLayerStored getTokenSegmentationLayer()
           
protected  void setCanonicalSegmentationLayer(CanonicalSegmentationLayerStored layer)
           
protected  void setNamedEntityModelLayer(NamedEntityModelLayerStored layer)
           
protected  void setPhoneticSegmentationLayer(PhoneticSegmentationLayerStored layer)
           
protected  void setSpeechSignalLayer(SpeechSignalLayerStored layer)
           
protected  void setTokenSegmentationLayer(TokenSegmentationLayerStored layer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_NAME

public static final String XML_NAME
See Also:
Constant Field Values

XML_NAMESPACE

public static final String XML_NAMESPACE
See Also:
Constant Field Values
Constructor Detail

ExternalDataStored

public ExternalDataStored()
Method Detail

getLayers

public List<ExternalDataLayer> getLayers()
Specified by:
getLayers in interface ExternalData

createSpeechSignalLayer

public SpeechSignalLayer createSpeechSignalLayer(String mimeType)
Specified by:
createSpeechSignalLayer in interface ExternalData

createSpeechSignalLayer

public SpeechSignalLayer createSpeechSignalLayer(String mimeType,
                                                 int numberOfChannels)
Specified by:
createSpeechSignalLayer in interface ExternalData

createTokenSegmentationLayer

public TokenSegmentationLayer createTokenSegmentationLayer(String mimeType)
Specified by:
createTokenSegmentationLayer in interface ExternalData

createPhoneticSegmentationLayer

public PhoneticSegmentationLayer createPhoneticSegmentationLayer(String mimeType)
Specified by:
createPhoneticSegmentationLayer in interface ExternalData

createCanonicalSegmentationLayer

public CanonicalSegmentationLayer createCanonicalSegmentationLayer(String mimeType)
Specified by:
createCanonicalSegmentationLayer in interface ExternalData

createNamedEntityModelLayer

public NamedEntityModelLayer createNamedEntityModelLayer(String mimeType,
                                                         String neType,
                                                         String modelType)
Specified by:
createNamedEntityModelLayer in interface ExternalData

setSpeechSignalLayer

protected void setSpeechSignalLayer(SpeechSignalLayerStored layer)

getSpeechSignalLayer

public SpeechSignalLayerStored getSpeechSignalLayer()
Specified by:
getSpeechSignalLayer in interface ExternalData

setTokenSegmentationLayer

protected void setTokenSegmentationLayer(TokenSegmentationLayerStored layer)

getTokenSegmentationLayer

public TokenSegmentationLayerStored getTokenSegmentationLayer()
Specified by:
getTokenSegmentationLayer in interface ExternalData

setPhoneticSegmentationLayer

protected void setPhoneticSegmentationLayer(PhoneticSegmentationLayerStored layer)

getPhoneticSegmentationLayer

public PhoneticSegmentationLayerStored getPhoneticSegmentationLayer()
Specified by:
getPhoneticSegmentationLayer in interface ExternalData

setCanonicalSegmentationLayer

protected void setCanonicalSegmentationLayer(CanonicalSegmentationLayerStored layer)

getCanonicalSegmentationLayer

public CanonicalSegmentationLayerStored getCanonicalSegmentationLayer()
Specified by:
getCanonicalSegmentationLayer in interface ExternalData

setNamedEntityModelLayer

protected void setNamedEntityModelLayer(NamedEntityModelLayerStored layer)

getNamedEntityModelLayer

public NamedEntityModelLayerStored getNamedEntityModelLayer()
Specified by:
getNamedEntityModelLayer in interface ExternalData

toString

public String toString()
Overrides:
toString in class Object

compose

public static ExternalDataStored compose(ExternalDataLayerStored... layers)
Composes the layers into one document. Normally, you should not use this method, unless you want to manually compose document from the layer pieces.

Parameters:
layers -
Returns:
external data composed of the provided layers


Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.