java.lang.Object
dev.metaschema.core.configuration.AbstractConfigurationFeature<V>
dev.metaschema.core.metapath.MetapathEvaluationFeature<V>
- Type Parameters:
V- the feature value Java type
- All Implemented Interfaces:
IConfigurationFeature<V>
Provides a mechanism to configure Metapath evaluation settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetapathEvaluationFeature<Boolean>If enabled, atomization of a node item that has no associated typed value (for example, a flag or field node reached while walking a module definition rather than an instance document) yields anullatomic value instead of raisingInvalidTypeFunctionExceptionwith codeInvalidTypeFunctionException.NODE_HAS_NO_TYPED_VALUE.static final MetapathEvaluationFeature<Boolean>If enabled, evaluate predicates, otherwise skip evaluating them. -
Method Summary
Methods inherited from class dev.metaschema.core.configuration.AbstractConfigurationFeature
getDefault, getName, getValueClass, toString
-
Field Details
-
METAPATH_EVALUATE_PREDICATES
If enabled, evaluate predicates, otherwise skip evaluating them. -
METAPATH_ATOMIZE_NO_DATA_AS_EMPTY
If enabled, atomization of a node item that has no associated typed value (for example, a flag or field node reached while walking a module definition rather than an instance document) yields anullatomic value instead of raisingInvalidTypeFunctionExceptionwith codeInvalidTypeFunctionException.NODE_HAS_NO_TYPED_VALUE.This is intended for visitors and tools that traverse an
IModuleNodeItemgraph and need downstream function calls (for examplefn:resolve-uriorfn:doc) to degrade gracefully when they receive a no-data flag rather than an instance value.
-