Module dev.metaschema.core
Class AbstractDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
java.lang.Object
dev.metaschema.core.metapath.item.node.AbstractNodeItem
dev.metaschema.core.metapath.item.node.AbstractDefinitionNodeItem<D,I>
- Type Parameters:
D- the Java type of the definitionI- the Java type of the instance
- All Implemented Interfaces:
IPathSegment,ICollectionValue,IItem,IDefinitionNodeItem<D,,I> IFeatureOrhpanedDefinitionNodeItem<D,,I> INodeItem,INodeItemVisitable,IMetapathQueryable
- Direct Known Subclasses:
AbstractGlobalDefinitionNodeItem,AbstractOrphanedDefinitionNodeItem
public abstract class AbstractDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
extends AbstractNodeItem
implements IFeatureOrhpanedDefinitionNodeItem<D,I>
A base implementation of a node item backed by a Metaschema definition.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
INodeItem.NodeType -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDefinitionNodeItem(D definition) Construct a new node item for the provided definition. -
Method Summary
Modifier and TypeMethodDescriptionGet the Metaschema definition associated with this node.Methods inherited from class dev.metaschema.core.metapath.item.node.AbstractNodeItem
getValueSignature, toSignature, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.metaschema.core.metapath.item.ICollectionValue
deepEquals, toSignatureMethods inherited from interface dev.metaschema.core.metapath.item.node.IDefinitionNodeItem
getLocation, getQNameMethods inherited from interface dev.metaschema.core.metapath.item.node.IFeatureOrhpanedDefinitionNodeItem
getInstance, getParentContentNodeItemMethods inherited from interface dev.metaschema.core.metapath.item.IItem
atomize, contentsAsSequence, flatten, getType, getValue, hasValue, toAtomicItem, toSequenceMethods inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
accept, ancestor, ancestorOrSelf, descendant, descendantOrSelf, flags, following, followingSibling, format, getBaseUri, getFlagByName, getFlags, getMetapath, getModelItems, getModelItemsByName, getNodeItemKind, getNodeType, getParentNodeItem, getPathStream, getPosition, getStaticContext, modelItems, preceding, precedingSibling, stringValueMethods inherited from interface dev.metaschema.core.metapath.item.node.INodeItemVisitable
acceptMethods inherited from interface dev.metaschema.core.metapath.format.IPathSegment
getNodeItem, getPath, toPath
-
Constructor Details
-
AbstractDefinitionNodeItem
Construct a new node item for the provided definition.- Parameters:
definition- the Metaschema definition this node represents
-
-
Method Details
-
getDefinition
Description copied from interface:IDefinitionNodeItemGet the Metaschema definition associated with this node.- Specified by:
getDefinitionin interfaceIDefinitionNodeItem<D extends IDefinition,I extends INamedInstance> - Returns:
- the definition
-