Uses of Interface
dev.metaschema.core.metapath.IMetapathExpression
Packages that use IMetapathExpression
Package
Description
Provides the core Metapath expression language implementation.
Built-in Metapath function implementations based on the XPath 3.1
specification.
Metaschema constraint definitions and validation framework.
-
Uses of IMetapathExpression in dev.metaschema.core.metapath
Methods in dev.metaschema.core.metapath that return IMetapathExpressionModifier and TypeMethodDescriptionstatic IMetapathExpressionCompile a Metapath expression string.static IMetapathExpressionIMetapathExpression.compile(String path, StaticContext staticContext) Compiles a Metapath expression string using the provided static context.static IMetapathExpressionIMetapathExpression.contextNode()Get the Metapath expression identifying the current context node.static IMetapathExpressionIMetapathExpression.lazyCompile(String path, StaticContext staticContext) Gets a new Metapath expression that is compiled on use.Methods in dev.metaschema.core.metapath with parameters of type IMetapathExpressionModifier and TypeMethodDescriptionfinal MetapathExceptionMetapathException.registerEvaluationContext(IMetapathExpression metapath) Registers the evaluation context from the provided metapath expression. -
Uses of IMetapathExpression in dev.metaschema.core.metapath.function.library
Methods in dev.metaschema.core.metapath.function.library with parameters of type IMetapathExpressionModifier and TypeMethodDescriptionMpRecurseDepth.recurseDepth(ISequence<INodeItem> initialContext, IMetapathExpression recursionMetapath, DynamicContext dynamicContext) Evaluates therecursionMetapathstarting with the the items in theinitialContextand also recursively using the resulting items returned by evaluating this path. -
Uses of IMetapathExpression in dev.metaschema.core.model.constraint
Methods in dev.metaschema.core.model.constraint that return IMetapathExpressionModifier and TypeMethodDescriptionstatic IMetapathExpressionIConstraint.defaultTarget()Get the Metapath to use if no target is provided.protected IMetapathExpressionAbstractConstraintBuilder.getTarget()Get the Metapath expression, provided to the builder, used to get the target(s) of the constraint.IConstraint.getTarget()Retrieve the Metapath expression to use to query the targets of the constraint.IKeyField.getTarget()Get the Metapath expression that identifies the node item whose value will be used as the key value.IExpectConstraint.getTest()Get the test to use to validate selected nodes.IReportConstraint.getTest()Get the test to use to identify reportable conditions in selected nodes.ILet.getValueExpression()Get the Metapath expression to use to query the value.Methods in dev.metaschema.core.model.constraint that return types with arguments of type IMetapathExpressionModifier and TypeMethodDescriptionAbstractTargetedConstraints.getTargets()ITargetedConstraints.getTargets()Get the Metapath expressions used to identify the targets of the constraint.Methods in dev.metaschema.core.model.constraint with parameters of type IMetapathExpressionModifier and TypeMethodDescriptionstatic IKeyFieldIKeyField.of(IMetapathExpression target, Pattern pattern, MarkupMultiline remarks) Construct a new key field based on the provided target.static ILetILet.of(IEnhancedQName name, IMetapathExpression valueExpression, ISource source, MarkupMultiline remarks) Create a new Let expression.AbstractConstraintBuilder.target(IMetapathExpression target) Set the Metapath expression used to get the target(s) of the constraint.IExpectConstraint.Builder.test(IMetapathExpression test) Use the provided test to validate selected nodes.IReportConstraint.Builder.test(IMetapathExpression test) Use the provided test to identify reportable conditions in selected nodes.Constructor parameters in dev.metaschema.core.model.constraint with type arguments of type IMetapathExpressionModifierConstructorDescriptionprotectedAbstractTargetedConstraints(ISource source, Supplier<List<IMetapathExpression>> targets, T constraints) Construct a new set of targeted constraints.AssemblyTargetedConstraints(ISource source, Supplier<List<IMetapathExpression>> targets, IModelConstrained constraints) Construct a new set of targeted constraints.Context(MetaConstraintSet.Context parent, ISource source, List<IMetapathExpression> metapaths, IModelConstrained modelConstrained) Construct a new context.FieldTargetedConstraints(ISource source, Supplier<List<IMetapathExpression>> targets, IValueConstrained constraints) Construct a new set of targeted constraints.FlagTargetedConstraints(ISource source, Supplier<List<IMetapathExpression>> targets, IValueConstrained constraints) Construct a new set of targeted constraints.ModelTargetedConstraints(ISource source, Supplier<List<IMetapathExpression>> targets, IModelConstrained constraints) Construct a new set of targeted constraints.