Last updated

API / geotoolkit / report / edit / properties / ElementDescriptorFactory / ElementDescriptorFactory

Class: ElementDescriptorFactory

properties.ElementDescriptorFactory.ElementDescriptorFactory

Define property descriptors factory

Table of contents

Constructors
Methods

Contents

Constructors

new ElementDescriptorFactory()

new ElementDescriptorFactory()

Methods

hasPropertyDescriptor

Static hasPropertyDescriptor(elementType, iPropertiesType): boolean

Check if property descriptor exists

Parameters

Name Type Description
elementTypeanyelement type
iPropertiesTypeClassType<any>properties type

Returns

boolean


registerPropertiesDescriptor

Static registerPropertiesDescriptor(elementType, iPropertiesType, resolver?): ElementDescriptorFactory

Register property descriptor

Parameters

Name Type Description
elementTypeanyelement type
iPropertiesTypeClassType<any>element access interface
Optional resolverClassType<any> | PropertyTypeResolveraccess interface constructor

Returns

ElementDescriptorFactory