### Saxon.Api

- BinaryResource
- CatalogCollection
- DirectoryCollection
- DocumentBuilder
- DomDestination
- DynamicContext
- DynamicError
- EmptyEnumerator<T>
- ErrorReporter
- ErrorReporterToStaticError
- ErrorReporterWrapper
- ExtensionFunction
- ExtensionFunctionCall
- ExtensionFunctionDefinition
- Feature<T>
- FeatureKeys
- HostLanguage
- ICollectionFinder
- IErrorReporter
- IInvalidityHandler
- IMessageListener
- IMessageListener2
- InvalidityHandlerWrapper
- IPredicate<in XdmItem>
- IQueryResolver
- IResource
- IResourceCollection
- IResourceFactory
- IResultDocumentHandler
- IXmlLocation
- JarCollection
- NamespaceConstant
- NullDestination
- Predicate<T>
- Predicates
- Processor
- QName
- RawDestination
- RecoveryPolicy
- Resource
- ResourceCollection
- SchemaManager
- SchemaResolver
- SchemaValidationMode
- SchemaValidator
- Serializer
- StandardCollectionFinder
- StandardLogger
- StaticContext
- StaticError
- Step<TInput, TResult>
- Steps
- TextWriterDestination
- TreeModel
- URIQueryParameters
- ValidationFailure
- WhitespacePolicy
- XdmAnyArrayType
- XdmAnyFunctionType
- XdmAnyItemType
- XdmAnyMapType
- XdmAnyNodeType
- XdmArray
- XdmAtomicType
- XdmAtomicValue
- XdmAxis
- XdmDestination
  - - TreeProtector
- XdmEmptySequence
- XdmExternalObjectValue
- XdmFunctionItem
- XdmItem
- XdmItemType
- XdmMap
- XdmNode
- XdmNodeKind
- XdmSequenceType
- XdmValue
- XmlDestination
- XmlProcessingError
- XmlResource
- XPathCompiler
- XPathExecutable
- XPathSelector
- XQueryCompiler
- XQueryEvaluator
- XQueryExecutable
- Xslt30Transformer
- XsltCompiler
- XsltExecutable
  - - ParameterDetails
- XsltPackage
- XsltTransformer

### Saxon.Api

# Class XdmAnyNodeType

public class XdmAnyNodeType
extends XdmItemType

Singleton class representing the item type `node()`, which matches any node.

### Field Summary
static XdmAnyNodeType | Instance The singleton instance of this class: an `XdmItemType` corresponding to the item type `node()`, which matches any node.

### Method Summary
bool | Matches(XdmItem item) Determine whether this item type matches a given item.
bool | Subsumes(XdmItemType other) Determine whether this ItemType subsumes another ItemType. Specifically, `A.subsumes(B)` is true if every value that matches the ItemType B also matches the ItemType A.

## Field Detail

### Instance

public static XdmAnyNodeType Instance

The singleton instance of this class: an `XdmItemType` corresponding to the item type `node()`, which matches any node.

## Method Detail

### Matches

public override bool Matches(XdmItem item)

Determine whether this item type matches a given item.

Parameters:

`item` - the item to be tested against this item type

Returns:

true if the item matches this item type, false if it does not match.

### Subsumes

public override bool Subsumes(XdmItemType other)

Determine whether this ItemType subsumes another ItemType. Specifically, `A.subsumes(B)` is true if every value that matches the ItemType B also matches the ItemType A.

Parameters:

`other` - the other ItemType

Returns:

true if this ItemType subsumes the other ItemType. This includes the case where A and B represent the same ItemType.