public class RegExEntityMapper extends EntityMapper
EntityMapper
that uses RegExp to match system entities.
This class matches all the system entities using the same RegExp ((\D)+), meaning that system entities can only be matched from a single word.
Custom entities can be registered using EntityMapper.addEntityMapping(EntityDefinition, String)
and associated to the
RegExp pattern that will be used to retrieve them.
entities, FALLBACK_ENTITY_KEY
Constructor and Description |
---|
RegExEntityMapper()
Constructs a
RegExEntityMapper that uses RegExp to match system entities. |
addCustomEntityMapping, addEntityMapping, addEntityMapping, getMappingFor, getMappingFor, getMappingForCustomEntity, removeMappingFor, setFallbackEntityMapping
public RegExEntityMapper()
RegExEntityMapper
that uses RegExp to match system entities.Copyright © 2020 SOM Research Lab. All rights reserved.