Package com.apicatalog.tree.io
Class Features
java.lang.Object
com.apicatalog.tree.io.Features
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Features
-
-
Method Details
-
contains
-
nodes
Returns the complete set of node types that this adapter is capable of representing.- Returns:
- an immutable set of supported
NodeTypes.
-
keys
Returns the set of scalar types that are supported as keys in map nodes. For example, a JSON-based adapter would return onlyNodeType.STRING, whereas a CBOR-based adapter might return multiple scalar types.- Returns:
- an immutable set of supported key
NodeTypes.
-