Module dev.metaschema.core
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 resultsICollectionValue- Common interface for values that can be stored in arrays or mapsIItemVisitor- 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:
-
ClassDescriptionProduces a textual representation of a Metapath sequence.A data value that can be a value in a Metapath array or map.The base interface inherited by all Metapath item implementations.Use to visit the major types of items.Supports writing different types of items using a visitor pattern.Represents an ordered collection of Metapath expression results.Provides a variety of utilities for working with Metapath items.