Class TierImpl<T>
java.lang.Object
ca.phon.session.impl.TierImpl<T>
- Type Parameters:
T- tier data type
- All Implemented Interfaces:
TierDescriptionSPI,TierSPI<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetBlindTranscription(String transcriberId) Get blind transcription for given transcriberGet declared type of the tierReturn formatter used by parse and toString for converting between objects and textgetName()Get the name of the tier.Return list of blind transcribers for this tiergetValue()Get tier valuebooleanisBlind()booleanValidate text and return object of type TvoidsetBlind(boolean blind) voidsetBlindTranscription(String transcriberId, T value) Set blind transcriptionvoidsetFormatter(Formatter<T> formatter) Set formatter used by parse and toString for converting between objects and textvoidSet tier value
-
Method Details
-
getName
Description copied from interface:TierDescriptionSPIGet the name of the tier.- Specified by:
getNamein interfaceTierDescriptionSPI- Returns:
- name of the tier
-
getDeclaredType
Description copied from interface:TierDescriptionSPIGet declared type of the tier- Specified by:
getDeclaredTypein interfaceTierDescriptionSPI
-
getTierParameters
- Specified by:
getTierParametersin interfaceTierDescriptionSPI
-
isExcludeFromAlignment
public boolean isExcludeFromAlignment()- Specified by:
isExcludeFromAlignmentin interfaceTierDescriptionSPI
-
isBlind
public boolean isBlind()- Specified by:
isBlindin interfaceTierDescriptionSPI
-
setBlind
public void setBlind(boolean blind) - Specified by:
setBlindin interfaceTierDescriptionSPI
-
getSubtypeDelim
- Specified by:
getSubtypeDelimin interfaceTierDescriptionSPI
-
getSubtypeExpr
- Specified by:
getSubtypeExprin interfaceTierDescriptionSPI
-
setBlindTranscription
-
getBlindTranscription
Description copied from interface:TierSPIGet blind transcription for given transcriber- Specified by:
getBlindTranscriptionin interfaceTierSPI<T>- Parameters:
transcriberId-- Returns:
- blind transcription for transcriber or null if none or isBlind() is false
-
getTranscribers
-
getFormatter
Description copied from interface:TierSPIReturn formatter used by parse and toString for converting between objects and text- Specified by:
getFormatterin interfaceTierSPI<T>- Returns:
- formatter, if no formatter is manually set will use the result of FormatterFactory.createFormatter, null if no formatter is set or found
-
setFormatter
-
parse
Description copied from interface:TierSPIValidate text and return object of type T- Specified by:
parsein interfaceTierSPI<T>- Parameters:
text-- Throws:
ParseException
-
getValue
-
setValue
-