public final class SoyProtoTypeProvider extends Object implements SoyTypeProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
SoyProtoTypeProvider.Builder
Helper class that assists in the construction of SoyTypeProviders.
|
| Modifier and Type | Method and Description |
|---|---|
static SoyProtoTypeProvider |
empty() |
SoyType |
getType(String name,
SoyTypeRegistry typeRegistry)
Given a fully-qualified name of a type, return the
SoyType
that describes this type, or null if this type provider does
not have a definition for the requested type. |
public static SoyProtoTypeProvider empty()
public SoyType getType(String name, SoyTypeRegistry typeRegistry)
SoyTypeProviderSoyType
that describes this type, or null if this type provider does
not have a definition for the requested type.getType in interface SoyTypeProvidername - The fully-qualified name of the type.typeRegistry - The global type registry.