Uses of Interface
gov.nist.secauto.metaschema.core.metapath.item.node.INodeItem
-
Packages that use INodeItem Package Description gov.nist.secauto.metaschema.core.metapath Support for working with Metapath expressions.gov.nist.secauto.metaschema.core.metapath.format Support for defining and evaluating Metapath functions.gov.nist.secauto.metaschema.core.metapath.function.library Built-in Metapath functions based on the XPath 3.1 specification.gov.nist.secauto.metaschema.core.metapath.item The Metapath type system, which overlays the Metaschema type system defined ingov.nist.secauto.metaschema.core.datatype
.gov.nist.secauto.metaschema.core.metapath.item.node This package provides the Metapath node item implementations and interfaces needed to perform Metapath queries over both Metaschema models and data represented using a Metaschema model.gov.nist.secauto.metaschema.core.model.constraint Support for validating bound objects using Metaschema constraints. -
-
Uses of INodeItem in gov.nist.secauto.metaschema.core.metapath
Methods in gov.nist.secauto.metaschema.core.metapath that return types with arguments of type INodeItem Modifier and Type Method Description ISequence<? extends INodeItem>
Axis. accept(DynamicContext dynamicContext, ISequence<?> outerFocus)
Stream<? extends INodeItem>
Axis. execute(INodeItem focus)
Execute the axis operation on the providedfocus
.Map<URI,INodeItem>
DynamicContext. getAvailableDocuments()
Class<INodeItem>
Axis. getBaseResultType()
Class<INodeItem>
Axis. getStaticResultType()
Methods in gov.nist.secauto.metaschema.core.metapath with parameters of type INodeItem Modifier and Type Method Description Stream<? extends INodeItem>
Axis. execute(INodeItem focus)
Execute the axis operation on the providedfocus
. -
Uses of INodeItem in gov.nist.secauto.metaschema.core.metapath.format
Methods in gov.nist.secauto.metaschema.core.metapath.format that return INodeItem Modifier and Type Method Description INodeItem
IPathSegment. getNodeItem()
Get the value associated with the path segment. -
Uses of INodeItem in gov.nist.secauto.metaschema.core.metapath.function.library
Methods in gov.nist.secauto.metaschema.core.metapath.function.library that return types with arguments of type INodeItem Modifier and Type Method Description static ISequence<INodeItem>
MpRecurseDepth. recurseDepth(ISequence<INodeItem> initialContext, MetapathExpression recursionMetapath, DynamicContext dynamicContext)
Methods in gov.nist.secauto.metaschema.core.metapath.function.library with parameters of type INodeItem Modifier and Type Method Description static IAnyUriItem
FnBaseUri. fnBaseUri(INodeItem nodeItem)
Get the base URI for the providednodeItem
.static IStringItem
FnPath. fnPath(INodeItem item)
An implementation of item atomization.Method parameters in gov.nist.secauto.metaschema.core.metapath.function.library with type arguments of type INodeItem Modifier and Type Method Description static ISequence<INodeItem>
MpRecurseDepth. recurseDepth(ISequence<INodeItem> initialContext, MetapathExpression recursionMetapath, DynamicContext dynamicContext)
-
Uses of INodeItem in gov.nist.secauto.metaschema.core.metapath.item
Methods in gov.nist.secauto.metaschema.core.metapath.item that return INodeItem Modifier and Type Method Description static INodeItem
ItemUtils. checkItemIsNodeItemForStep(IItem item)
-
Uses of INodeItem in gov.nist.secauto.metaschema.core.metapath.item.node
Subinterfaces of INodeItem in gov.nist.secauto.metaschema.core.metapath.item.node Modifier and Type Interface Description interface
IAssemblyNodeItem
interface
ICycledAssemblyNodeItem
A marker interface used to identify anIAssemblyNodeItem
as the head of a cycle of item that loop back to the head.interface
IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
interface
IDocumentNodeItem
interface
IFieldNodeItem
interface
IFlagNodeItem
interface
IModelNodeItem<D extends IFlagContainer,I extends INamedInstance>
interface
IModuleNodeItem
Supports querying of global definitions and associated instances in a Metaschema module by effective name.interface
IRootAssemblyNodeItem
A marker interface used to expose root node functionality for an assembly node that has root information.Methods in gov.nist.secauto.metaschema.core.metapath.item.node that return INodeItem Modifier and Type Method Description default INodeItem
IDocumentNodeItem. getParentNodeItem()
INodeItem
IModelNodeItem. getParentNodeItem()
Retrieve the parent node item if it exists.INodeItem
INodeItem. getParentNodeItem()
Retrieve the parent node item if it exists.Methods in gov.nist.secauto.metaschema.core.metapath.item.node that return types with arguments of type INodeItem Modifier and Type Method Description default Stream<? extends INodeItem>
INodeItem. ancestor()
Get a stream of all ancestors of this node item.default Stream<? extends INodeItem>
INodeItem. ancestorOrSelf()
Get a stream of this and all ancestors of this node item.static Stream<? extends INodeItem>
INodeItem. ancestorsOf(INodeItem item)
Get a stream of the ancestors of the provideditem
.static Stream<? extends INodeItem>
INodeItem. decendantsOf(INodeItem item)
Get a stream of all descendant model items of the provideditem
.default Stream<? extends INodeItem>
INodeItem. descendant()
Get a stream of all descendant model items of this node item.default Stream<? extends INodeItem>
INodeItem. descendantOrSelf()
Get a stream of this node, followed by all descendant model items of this node item.default Stream<? extends INodeItem>
INodeItem. getPathStream()
Methods in gov.nist.secauto.metaschema.core.metapath.item.node with parameters of type INodeItem Modifier and Type Method Description static Stream<? extends INodeItem>
INodeItem. ancestorsOf(INodeItem item)
Get a stream of the ancestors of the provideditem
.static Stream<? extends INodeItem>
INodeItem. decendantsOf(INodeItem item)
Get a stream of all descendant model items of the provideditem
.protected boolean
AbstractNodeItemVisitor. shouldVisitNextChild(INodeItem parent, IModelNodeItem<?,?> child, RESULT result, CONTEXT context)
Determine if the child should be visited next, or skipped.protected boolean
AbstractNodeItemVisitor. shouldVisitNextChild(INodeItem parent, INodeItem child, RESULT result, CONTEXT context)
Determine if the child should be visited next, or skipped.static <CLASS> CLASS
INodeItem. toValue(INodeItem item)
Gets the value of the provided node item.protected RESULT
AbstractNodeItemVisitor. visitFlags(INodeItem item, CONTEXT context)
Visit any child flags associated with the provideditem
.protected RESULT
AbstractNodeItemVisitor. visitModelChildren(INodeItem item, CONTEXT context)
Visit any child model items associated with the provideditem
. -
Uses of INodeItem in gov.nist.secauto.metaschema.core.model.constraint
Methods in gov.nist.secauto.metaschema.core.model.constraint that return INodeItem Modifier and Type Method Description INodeItem
DefaultIndex. get(List<String> key)
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.INodeItem
IIndex. get(List<String> key)
Retrieve the item from the index that matches the provided key.INodeItem
ConstraintValidationFinding. getNode()
INodeItem
DefaultIndex. put(INodeItem item, List<String> key)
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.INodeItem
IIndex. put(INodeItem item, List<String> key)
Store the provided item using the provided key.Methods in gov.nist.secauto.metaschema.core.model.constraint that return types with arguments of type INodeItem Modifier and Type Method Description List<? extends INodeItem>
ConstraintValidationFinding. getTargets()
Methods in gov.nist.secauto.metaschema.core.model.constraint with parameters of type INodeItem Modifier and Type Method Description static ConstraintValidationFinding.Builder
ConstraintValidationFinding. builder(IConstraint constraint, INodeItem node)
static ConstraintValidationFinding.Builder
ConstraintValidationFinding. builder(List<? extends IConstraint> constraints, INodeItem node)
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.protected void
DefaultConstraintValidator. handleAllowedValues(INodeItem targetItem)
void
FindingCollectingConstraintValidationHandler. handleAllowedValuesViolation(List<IAllowedValuesConstraint> failedConstraints, INodeItem target)
void
IConstraintValidationHandler. handleAllowedValuesViolation(List<IAllowedValuesConstraint> failedConstraints, INodeItem target)
void
LoggingConstraintValidationHandler. handleAllowedValuesViolation(List<IAllowedValuesConstraint> failedConstraints, INodeItem target)
void
FindingCollectingConstraintValidationHandler. handleCardinalityMaximumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
IConstraintValidationHandler. handleCardinalityMaximumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
LoggingConstraintValidationHandler. handleCardinalityMaximumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
FindingCollectingConstraintValidationHandler. handleCardinalityMinimumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
IConstraintValidationHandler. handleCardinalityMinimumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
LoggingConstraintValidationHandler. handleCardinalityMinimumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
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)
void
FindingCollectingConstraintValidationHandler. handleIndexDuplicateKeyViolation(IIndexConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
void
IConstraintValidationHandler. handleIndexDuplicateKeyViolation(IIndexConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
void
LoggingConstraintValidationHandler. handleIndexDuplicateKeyViolation(IIndexConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
void
FindingCollectingConstraintValidationHandler. handleIndexDuplicateViolation(IIndexConstraint constraint, INodeItem node)
void
IConstraintValidationHandler. handleIndexDuplicateViolation(IIndexConstraint constraint, INodeItem node)
void
LoggingConstraintValidationHandler. handleIndexDuplicateViolation(IIndexConstraint constraint, INodeItem node)
void
FindingCollectingConstraintValidationHandler. handleIndexMiss(IIndexHasKeyConstraint constraint, INodeItem node, INodeItem target, List<String> key)
void
IConstraintValidationHandler. handleIndexMiss(IIndexHasKeyConstraint constraint, INodeItem node, INodeItem target, List<String> key)
void
LoggingConstraintValidationHandler. handleIndexMiss(IIndexHasKeyConstraint constraint, INodeItem node, INodeItem target, List<String> key)
void
FindingCollectingConstraintValidationHandler. handleKeyMatchError(IKeyConstraint constraint, INodeItem node, INodeItem target, MetapathException cause)
void
IConstraintValidationHandler. handleKeyMatchError(IKeyConstraint constraint, INodeItem node, INodeItem target, MetapathException ex)
void
LoggingConstraintValidationHandler. handleKeyMatchError(IKeyConstraint constraint, INodeItem node, INodeItem target, MetapathException cause)
void
FindingCollectingConstraintValidationHandler. handleMatchDatatypeViolation(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value, IllegalArgumentException cause)
void
IConstraintValidationHandler. handleMatchDatatypeViolation(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value, IllegalArgumentException cause)
void
LoggingConstraintValidationHandler. handleMatchDatatypeViolation(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value, IllegalArgumentException cause)
void
FindingCollectingConstraintValidationHandler. handleMatchPatternViolation(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value)
void
IConstraintValidationHandler. handleMatchPatternViolation(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value)
void
LoggingConstraintValidationHandler. handleMatchPatternViolation(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value)
void
FindingCollectingConstraintValidationHandler. handleUniqueKeyViolation(IUniqueConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
void
IConstraintValidationHandler. handleUniqueKeyViolation(IUniqueConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
void
LoggingConstraintValidationHandler. handleUniqueKeyViolation(IUniqueConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
protected void
LoggingConstraintValidationHandler. logConstraint(IConstraint.Level level, INodeItem node, CharSequence message, Throwable cause)
protected CharSequence
AbstractConstraintValidationHandler. newAllowedValuesViolationMessage(List<IAllowedValuesConstraint> constraints, INodeItem target)
protected String
AbstractConstraintValidationHandler. newCardinalityMaximumViolationMessage(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected String
AbstractConstraintValidationHandler. newCardinalityMinimumViolationMessage(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected CharSequence
AbstractConstraintValidationHandler. newExpectViolationMessage(IExpectConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext)
protected String
AbstractConstraintValidationHandler. newIndexDuplicateKeyViolationMessage(IIndexConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
protected CharSequence
AbstractConstraintValidationHandler. newIndexDuplicateViolationMessage(IIndexConstraint constraint, INodeItem node)
protected CharSequence
AbstractConstraintValidationHandler. newIndexMissMessage(IIndexHasKeyConstraint constraint, INodeItem node, INodeItem target, List<String> key)
protected String
AbstractConstraintValidationHandler. newMatchDatatypeViolationMessage(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value)
protected String
AbstractConstraintValidationHandler. newMatchPatternViolationMessage(IMatchesConstraint constraint, INodeItem node, INodeItem target, String value)
protected String
AbstractConstraintValidationHandler. newUniqueKeyViolationMessage(IUniqueConstraint constraint, INodeItem node, INodeItem oldItem, INodeItem target)
INodeItem
DefaultIndex. put(INodeItem item, List<String> key)
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.INodeItem
IIndex. put(INodeItem item, List<String> key)
Store the provided item using the provided key.ConstraintValidationFinding.Builder
ConstraintValidationFinding.Builder. target(INodeItem target)
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.protected String
AbstractConstraintValidationHandler. toPath(INodeItem nodeItem)
protected String
LoggingConstraintValidationHandler. toPath(INodeItem nodeItem)
protected void
DefaultConstraintValidator. updateValueStatus(INodeItem targetItem, IAllowedValuesConstraint allowedValues)
Add a new allowed value to the value status tracker.void
DefaultConstraintValidator. validate(INodeItem item)
void
IConstraintValidator. validate(INodeItem item)
Validate the provided item against any associated constraints.protected void
DefaultConstraintValidator. validateExpect(IExpectConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateMatches(IMatchesConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
Method parameters in gov.nist.secauto.metaschema.core.model.constraint with type arguments of type INodeItem Modifier and Type Method Description void
FindingCollectingConstraintValidationHandler. handleCardinalityMaximumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
IConstraintValidationHandler. handleCardinalityMaximumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
LoggingConstraintValidationHandler. handleCardinalityMaximumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
FindingCollectingConstraintValidationHandler. handleCardinalityMinimumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
IConstraintValidationHandler. handleCardinalityMinimumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
void
LoggingConstraintValidationHandler. handleCardinalityMinimumViolation(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected String
AbstractConstraintValidationHandler. newCardinalityMaximumViolationMessage(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected String
AbstractConstraintValidationHandler. newCardinalityMinimumViolationMessage(ICardinalityConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
ConstraintValidationFinding.Builder
ConstraintValidationFinding.Builder. targets(List<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateExpect(IExpectConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateHasCardinality(ICardinalityConstraint constraint, IAssemblyNodeItem node, ISequence<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateIndex(IIndexConstraint constraint, IAssemblyNodeItem node, ISequence<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateIndexHasKey(IIndexHasKeyConstraint constraint, IDefinitionNodeItem<?,?> node, ISequence<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateMatches(IMatchesConstraint constraint, INodeItem node, ISequence<? extends INodeItem> targets)
protected void
DefaultConstraintValidator. validateUnique(IUniqueConstraint constraint, IAssemblyNodeItem node, ISequence<? extends INodeItem> targets)
-