Class DefaultShapesGraphProvider


  • public class DefaultShapesGraphProvider
    extends Object
    A singleton used by ResourceConstraintValidator (and thus the tosh:hasShape function) to deliver a default shapes graph if none has been provided in the context. This is to support calling tosh:hasShape outside of a validation engine. By default, this throws an exception, but within TopBraid products this uses other heuristics to find the most suitable shapes graph.
    Author:
    Holger Knublauch
    • Constructor Detail

      • DefaultShapesGraphProvider

        public DefaultShapesGraphProvider()