Uses of Class
gov.nist.secauto.metaschema.core.metapath.DynamicContext
-
Packages that use DynamicContext Package Description gov.nist.secauto.metaschema.core.metapath Support for working with Metapath expressions.gov.nist.secauto.metaschema.core.metapath.function Support for rendering paths to bound object nodes and Metaschema definitions resulting from evaluating a Metapath.gov.nist.secauto.metaschema.core.metapath.function.library Built-in Metapath functions based on the XPath 3.1 specification.gov.nist.secauto.metaschema.core.model.constraint Support for validating bound objects using Metaschema constraints. -
-
Uses of DynamicContext in gov.nist.secauto.metaschema.core.metapath
Methods in gov.nist.secauto.metaschema.core.metapath that return DynamicContext Modifier and Type Method Description DynamicContext
DynamicContext. disablePredicateEvaluation()
DynamicContext
StaticContext. newDynamicContext()
Generate a new dynamic context.Methods in gov.nist.secauto.metaschema.core.metapath with parameters of type DynamicContext Modifier and Type Method Description ISequence<? extends INodeItem>
Axis. accept(DynamicContext dynamicContext, ISequence<?> outerFocus)
ISequence<? extends IItem>
IExpression. accept(DynamicContext dynamicContext, ISequence<?> focus)
Provides a double dispatch callback for visitor handling.<T extends IItem>
ISequence<T>MetapathExpression. evaluate(IItem focus, DynamicContext dynamicContext)
Evaluate this Metapath expression using the providedfocus
as the initial evaluation context.<T> T
MetapathExpression. evaluateAs(IItem focus, MetapathExpression.ResultType resultType, DynamicContext dynamicContext)
Evaluate this Metapath expression using the providedfocus
as the initial evaluation context. -
Uses of DynamicContext in gov.nist.secauto.metaschema.core.metapath.function
Methods in gov.nist.secauto.metaschema.core.metapath.function with parameters of type DynamicContext Modifier and Type Method Description ISequence<?>
DefaultFunction. execute(List<ISequence<?>> arguments, DynamicContext dynamicContext, ISequence<?> focus)
ISequence<?>
IFunction. execute(List<ISequence<?>> arguments, DynamicContext dynamicContext, ISequence<?> focus)
ISequence<?>
IFunctionExecutor. execute(IFunction function, List<ISequence<?>> arguments, DynamicContext dynamicContext, IItem focus)
Execute the provided function using the provided arguments, dynamic context, and focus. -
Uses of DynamicContext in gov.nist.secauto.metaschema.core.metapath.function.library
Methods in gov.nist.secauto.metaschema.core.metapath.function.library with parameters of type DynamicContext Modifier and Type Method Description ISequence<ITEM>
CastFunction. execute(IFunction function, List<ISequence<?>> arguments, DynamicContext dynamicContext, IItem focus)
ISequence<INumericItem>
NumericFunction. execute(IFunction function, List<ISequence<?>> arguments, DynamicContext dynamicContext, IItem focus)
static IDocumentNodeItem
FnDoc. fnDoc(IStringItem uri, DynamicContext context)
Dynamically load the document associated with the URI, and return aIDocumentNodeItem
containing the result.static IAnyUriItem
FnStaticBaseUri. fnStaticBaseUri(DynamicContext context)
Get the static base URI from the static context.static ISequence<INodeItem>
MpRecurseDepth. recurseDepth(ISequence<INodeItem> initialContext, MetapathExpression recursionMetapath, DynamicContext dynamicContext)
-
Uses of DynamicContext in gov.nist.secauto.metaschema.core.model.constraint
Methods in gov.nist.secauto.metaschema.core.model.constraint that return DynamicContext Modifier and Type Method Description protected DynamicContext
DefaultConstraintValidator. getMetapathContext()
Methods in gov.nist.secauto.metaschema.core.model.constraint with parameters of type DynamicContext Modifier and Type Method Description CharSequence
DefaultExpectConstraint. generateMessage(INodeItem item, DynamicContext context)
CharSequence
IExpectConstraint. generateMessage(INodeItem item, DynamicContext context)
default INodeItem
IIndex. get(INodeItem item, DynamicContext dynamicContext)
Retrieve the item from the index that matches the key generated by evaluating the index's default key field components against the provided item.void
FindingCollectingConstraintValidationHandler. handleExpectViolation(IExpectConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext)
void
IConstraintValidationHandler. handleExpectViolation(IExpectConstraint constraint, INodeItem node, INodeItem target, DynamicContext metapathContext)
void
LoggingConstraintValidationHandler. handleExpectViolation(IExpectConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext)
default ISequence<? extends IDefinitionNodeItem<?,?>>
IConstraint. matchTargets(IDefinitionNodeItem<?,?> item, DynamicContext dynamicContext)
Based on the providedcontextNodeItem
, find all nodes matching the target expression.protected CharSequence
AbstractConstraintValidationHandler. newExpectViolationMessage(IExpectConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext)
default INodeItem
IIndex. put(INodeItem item, DynamicContext dynamicContext)
Store the provided item in the index using the index's key field components to generate the key.static List<String>
IIndex. toKey(INodeItem item, List<? extends IKeyField> keyFields, DynamicContext dynamicContext)
Construct a key by evaluating the provided key field components against the provided item.Constructors in gov.nist.secauto.metaschema.core.model.constraint with parameters of type DynamicContext Constructor Description DefaultConstraintValidator(DynamicContext metapathContext, IConstraintValidationHandler handler)
-