Skip to content

Package io.github.qishr.cascara.common.lang.type

Class TypeDescriptorFactory

java.lang.Object
        io.github.qishr.cascara.common.service.AbstractServiceProviderFactory
                io.github.qishr.cascara.common.lang.type.TypeDescriptorFactory


@io.github.qishr.cascara.common.lang.annotation.Beta
public class TypeDescriptorFactory
extends AbstractServiceProviderFactory

Constructor Summary

Constructor Description
TypeDescriptorFactory()
TypeDescriptorFactory(ServiceProviderLayer layer)

Method Summary

Modifier and Type Method Description
public TypeDescriptor<?> createTypeDescriptor(Class<?> jvmType)
public ScalarDescriptor<?> createScalarDescriptor(Class<?> jvmType)
public ScalarDescriptor<?> createScalarDescriptor(String schemaFormat)

Methods inherited from AbstractServiceProviderFactory

createServiceProvider

Method Details

createTypeDescriptor

public TypeDescriptor<?> createTypeDescriptor(Class<?> jvmType)

Throws:

ServiceException


createScalarDescriptor

public ScalarDescriptor<?> createScalarDescriptor(Class<?> jvmType)

Throws:

ServiceException


createScalarDescriptor

public ScalarDescriptor<?> createScalarDescriptor(String schemaFormat)

Throws:

ServiceException