Class ElementBuilder
- Namespace
- TypedRest.CodeGeneration.Jvm.Endpoints
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
Builds code for ElementEndpoints.
public class ElementBuilder : BuilderBase<ElementEndpoint>, IBuilder<ElementEndpoint>, IBuilder
- Inheritance
-
objectElementBuilder
- Implements
- Inherited Members
Methods
ExtraArguments(ElementEndpoint, IEndpointGenerator)
Returns the constructor arguments beyond the referrer and the relative URI.
protected override IEnumerable<JvmExpression> ExtraArguments(ElementEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointElementEndpointgeneratorIEndpointGenerator
Returns
Remarks
Most JVM endpoints take a Class<T> for the entity they deserialize.
GetBaseType(ElementEndpoint, IEndpointGenerator)
Returns the TypedRest implementation class the endpoint derives from.
protected override JvmIdentifier GetBaseType(ElementEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointElementEndpointgeneratorIEndpointGenerator