Uses of Interface
gov.nist.secauto.metaschema.core.metapath.item.IItem
-
Packages that use IItem 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.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.atomic Provides implementations of Metapath atomic data items.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. -
-
Uses of IItem in gov.nist.secauto.metaschema.core.metapath
Classes in gov.nist.secauto.metaschema.core.metapath with type parameters of type IItem Modifier and Type Interface Description interface
ISequence<ITEM_TYPE extends IItem>
Methods in gov.nist.secauto.metaschema.core.metapath with type parameters of type IItem Modifier and Type Method Description static <ITEM_TYPE extends IItem>
ISequence<ITEM_TYPE>ISequence. empty()
Get an empty sequence.<T extends IItem>
ISequence<T>MetapathExpression. evaluate()
Evaluate this Metapath expression without a specific focus.<T extends IItem>
ISequence<T>MetapathExpression. evaluate(IItem focus)
Evaluate this Metapath expression using the providedfocus
as the initial evaluation context.<T extends IItem>
ISequence<T>MetapathExpression. evaluate(IItem focus, DynamicContext dynamicContext)
Evaluate this Metapath expression using the providedfocus
as the initial evaluation context.static <ITEM_TYPE extends IItem>
ISequence<ITEM_TYPE>ISequence. of(ITEM_TYPE item)
Construct a new sequence containing the provideditem
.static <ITEM_TYPE extends IItem>
ISequence<ITEM_TYPE>ISequence. of(List<ITEM_TYPE> items)
Construct a new sequence containing the provideditems
.static <ITEM_TYPE extends IItem>
ISequence<ITEM_TYPE>ISequence. of(Stream<ITEM_TYPE> items)
Construct a new sequence containing the provideditems
.static <ITEM_TYPE extends IItem>
Collector<ITEM_TYPE,?,ISequence<ITEM_TYPE>>ISequence. toSequence()
Methods in gov.nist.secauto.metaschema.core.metapath that return IItem Modifier and Type Method Description IItem
InvalidTypeMetapathException. getItem()
Methods in gov.nist.secauto.metaschema.core.metapath that return types with arguments of type IItem Modifier and Type Method Description ISequence<? extends IItem>
IExpression. accept(DynamicContext dynamicContext, ISequence<?> focus)
Provides a double dispatch callback for visitor handling.default Class<? extends IItem>
IExpression. getBaseResultType()
The minimum expected result type to be produced when evaluating the expression.default Class<? extends IItem>
IExpression. getStaticResultType()
The expected result type produced by evaluating the expression.Methods in gov.nist.secauto.metaschema.core.metapath with parameters of type IItem Modifier and Type Method Description <T extends IItem>
ISequence<T>MetapathExpression. evaluate(IItem focus)
Evaluate this Metapath expression using the providedfocus
as the initial evaluation context.<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)
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.Constructors in gov.nist.secauto.metaschema.core.metapath with parameters of type IItem Constructor Description InvalidTypeMetapathException(IItem item)
InvalidTypeMetapathException(IItem item, String message)
InvalidTypeMetapathException(IItem item, String message, Throwable cause)
InvalidTypeMetapathException(IItem item, Throwable cause)
-
Uses of IItem in gov.nist.secauto.metaschema.core.metapath.function
Methods in gov.nist.secauto.metaschema.core.metapath.function with type parameters of type IItem Modifier and Type Method Description static <TYPE extends IItem>
ISequence<TYPE>FunctionUtils. asType(ISequence<?> sequence)
static <TYPE extends IItem>
TYPEFunctionUtils. asType(IItem item)
static <TYPE extends IItem>
TYPEFunctionUtils. asTypeOrNull(IItem item)
static <ITEM extends IItem>
ITEMFunctionUtils. getFirstItem(ISequence<ITEM> sequence, boolean requireSingleton)
Retrieves the first item in a sequence.static <ITEM extends IItem>
ITEMFunctionUtils. requireFirstItem(ISequence<ITEM> sequence, boolean requireSingleton)
Retrieves the first item in a sequence.static <TYPE extends IItem>
TYPEFunctionUtils. requireType(Class<TYPE> clazz, IItem item)
static <TYPE extends IItem>
TYPEFunctionUtils. requireTypeOrNull(Class<TYPE> clazz, IItem item)
Methods in gov.nist.secauto.metaschema.core.metapath.function that return IItem Modifier and Type Method Description IItem
DefaultFunction.CallingContext. getContextItem()
Get the node item focus associated with the calling context.Methods in gov.nist.secauto.metaschema.core.metapath.function that return types with arguments of type IItem Modifier and Type Method Description Class<? extends IItem>
ISequenceType. getType()
Get the type of the sequence.Methods in gov.nist.secauto.metaschema.core.metapath.function with parameters of type IItem Modifier and Type Method Description static <TYPE extends IItem>
TYPEFunctionUtils. asType(IItem item)
static <TYPE extends IItem>
TYPEFunctionUtils. asTypeOrNull(IItem item)
ISequence<?>
IFunctionExecutor. execute(IFunction function, List<ISequence<?>> arguments, DynamicContext dynamicContext, IItem focus)
Execute the provided function using the provided arguments, dynamic context, and focus.protected static String
InvalidTypeFunctionException. generateMessage(IItem item)
static <TYPE extends IItem>
TYPEFunctionUtils. requireType(Class<TYPE> clazz, IItem item)
static <TYPE extends IItem>
TYPEFunctionUtils. requireTypeOrNull(Class<TYPE> clazz, IItem item)
static INumericItem
FunctionUtils. toNumeric(IItem item)
Gets the provided item value as aINumericItem
value.Method parameters in gov.nist.secauto.metaschema.core.metapath.function with type arguments of type IItem Modifier and Type Method Description IFunction.Builder
IFunction.Builder. returnType(Class<? extends IItem> type)
IArgument.Builder
IArgument.Builder. type(Class<? extends IItem> type)
Constructors in gov.nist.secauto.metaschema.core.metapath.function with parameters of type IItem Constructor Description InvalidTypeFunctionException(int code, IItem item)
InvalidTypeFunctionException(int code, IItem item, Throwable cause)
-
Uses of IItem in gov.nist.secauto.metaschema.core.metapath.function.library
Methods in gov.nist.secauto.metaschema.core.metapath.function.library with parameters of type IItem 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 boolean
FnBoolean. fnBooleanAsPrimitive(IItem item)
A helper method that gets the effective boolean value of the provided item based on XPath 3.1.static IAnyAtomicItem
FnData. fnDataItem(IItem item)
An implementation of item atomization.static IBooleanItem
FnNot. fnNot(IItem item)
Get the negated, effective boolean value of the provided item. -
Uses of IItem in gov.nist.secauto.metaschema.core.metapath.item
Subinterfaces of IItem in gov.nist.secauto.metaschema.core.metapath.item Modifier and Type Interface Description interface
IAtomicValuedItem
This marker interface identifies a valuedIItem
type that has an associatedIAnyAtomicItem
value.Methods in gov.nist.secauto.metaschema.core.metapath.item with parameters of type IItem Modifier and Type Method Description static INodeItem
ItemUtils. checkItemIsNodeItemForStep(IItem item)
static <TYPE> TYPE
ItemUtils. checkItemType(IItem item, Class<TYPE> clazz)
-
Uses of IItem in gov.nist.secauto.metaschema.core.metapath.item.atomic
Subinterfaces of IItem in gov.nist.secauto.metaschema.core.metapath.item.atomic Modifier and Type Interface Description interface
IAnyAtomicItem
interface
IAnyUriItem
interface
IBase64BinaryItem
interface
IBooleanItem
interface
IDateItem
interface
IDateTimeItem
interface
IDayTimeDurationItem
interface
IDecimalItem
interface
IDurationItem
interface
IEmailAddressItem
interface
IHostnameItem
interface
IIntegerItem
interface
IIPAddressItem
interface
IIPv4AddressItem
interface
IIPv6AddressItem
interface
IMarkupItem
interface
INcNameItem
interface
INonNegativeIntegerItem
interface
INumericItem
interface
IPositiveIntegerItem
interface
IStringItem
interface
ITokenItem
interface
IUntypedAtomicItem
interface
IUriReferenceItem
interface
IUuidItem
interface
IYearMonthDurationItem
Classes in gov.nist.secauto.metaschema.core.metapath.item.atomic that implement IItem Modifier and Type Class Description class
AbstractAnyAtomicItem<TYPE>
Provides a common implementation for all atomic types.class
AbstractIntegerItem
class
AbstractNumericItem<TYPE>
class
AbstractStringItem
-
Uses of IItem in gov.nist.secauto.metaschema.core.metapath.item.node
Subinterfaces of IItem 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
(package private) interface
gov.nist.secauto.metaschema.core.metapath.item.node.IFeatureNoDataItem
This mixin interface represents an item that has no associated data.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
INodeItem
Represents a queryable Metapath model node.interface
IRootAssemblyNodeItem
A marker interface used to expose root node functionality for an assembly node that has root information.
-