java.lang.Object
gov.nist.secauto.metaschema.databind.io.ModelDetector.Result
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ModelDetector

public static final class ModelDetector.Result extends Object implements Closeable
Describes the result of detecting which model a resource is described by.

The method getBoundClass() can be used to get class binding for the identified node in a Metaschema-based model.

The method getDataStream() can be used to get a stream to read the content used for detection. This will replay any content used for detection.