Package dev.metaschema.core.metapath.item


package dev.metaschema.core.metapath.item
Core interfaces and classes for the Metapath item type system.

This package provides the foundational abstractions for representing values in Metapath expressions, aligning with the XPath 3.1 Data Model. All Metapath values are either items or sequences of items.

Key interfaces include:

  • IItem - Base interface for all Metapath items (atomic values, nodes, functions, arrays, and maps)
  • ISequence - Ordered collection of items representing expression evaluation results
  • ICollectionValue - Common interface for values that can be stored in arrays or maps
  • IItemVisitor - Visitor pattern interface for traversing item hierarchies

The type system integrates with Metaschema data types defined in dev.metaschema.core.datatype while extending them to support the full XPath 3.1 type hierarchy including atomic items, node items, and function items.

See Also: