Skip to content

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

Class UriTypeDescriptor

java.lang.Object
        io.github.qishr.cascara.common.lang.type.AbstractTypeDescriptor<java.net.URI>
                io.github.qishr.cascara.common.lang.type.AbstractScalarDescriptor<java.net.URI>
                        io.github.qishr.cascara.common.lang.type.UriTypeDescriptor


public class UriTypeDescriptor
extends AbstractScalarDescriptor<URI>

Constructor Summary

Constructor Description
UriTypeDescriptor()

Method Summary

Modifier and Type Method Description
public URI toJvmType(String text)
public Object toPrimitive(URI jvmInstance)
public boolean validate(String text, Reporter collector)

Methods inherited from AbstractScalarDescriptor

getFormat, populateSchema, getContentEncoding, formatError

Methods inherited from AbstractTypeDescriptor

getSchemaType, getServiceProperties, getJvmType

Method Details

toJvmType

public URI toJvmType(String text)


toPrimitive

public Object toPrimitive(URI jvmInstance)


validate

public boolean validate(String text, Reporter collector)