public abstract class ModeledCompanion<T> extends java.lang.Object implements Renderable
Constructor and Description |
---|
ModeledCompanion(scala.reflect.ClassTag<T> evidence$1) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
lowercaseName() |
java.lang.String |
name() |
static <T> java.lang.String |
nameFromClass(java.lang.Class<T> clazz) |
scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> |
parseFromValueString(java.lang.String value)
Parses the given value into a header of this type.
|
<R extends Rendering> |
render(R r) |
public ModeledCompanion(scala.reflect.ClassTag<T> evidence$1)
public static <T> java.lang.String nameFromClass(java.lang.Class<T> clazz)
public java.lang.String name()
public java.lang.String lowercaseName()
public final <R extends Rendering> Rendering render(R r)
render
in interface Renderable
public scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
Right[T]
if parsing
was successful and Left(errors)
otherwise.value
- (undocumented)