public final class Language extends Language implements ValueRenderable, WithQValue<LanguageRange>, scala.Product, java.io.Serializable
Constructor and Description |
---|
Language(java.lang.String primaryTag,
scala.collection.immutable.Seq<java.lang.String> subTags) |
Modifier and Type | Method and Description |
---|---|
static Language |
apply(java.lang.String compoundTag) |
static Language |
apply(java.lang.String primaryTag,
java.lang.String firstSubTag,
scala.collection.immutable.Seq<java.lang.String> otherSubTags) |
java.lang.Iterable<java.lang.String> |
getSubTags()
Java API
|
java.lang.String |
primaryTag() |
<R extends Rendering> |
render(R r) |
scala.collection.immutable.Seq<java.lang.String> |
subTags() |
LanguageRange |
withQValue(float qValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
value
toString
withQValue
public Language(java.lang.String primaryTag, scala.collection.immutable.Seq<java.lang.String> subTags)
public static Language apply(java.lang.String compoundTag)
public static Language apply(java.lang.String primaryTag, java.lang.String firstSubTag, scala.collection.immutable.Seq<java.lang.String> otherSubTags)
public java.lang.String primaryTag()
primaryTag
in class Language
public scala.collection.immutable.Seq<java.lang.String> subTags()
public LanguageRange withQValue(float qValue)
withQValue
in interface WithQValue<LanguageRange>
withQValue
in class Language
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable
public java.lang.Iterable<java.lang.String> getSubTags()
getSubTags
in class Language