Interface PrismSchema

    • Method Detail

      • getNamespace

        String getNamespace()
        Returns schema namespace. All schema definitions are placed in the returned namespace.
        Returns:
        schema namespace TODO can be null?
      • getDefinitions

        @NotNull
        Collection<Definition> getDefinitions()
        Returns set of definitions. The set contains all definitions of all types that were parsed. Order of definitions is insignificant.
        Returns:
        set of definitions
      • getDefinitions

        @NotNull
        <T extends DefinitionList<T> getDefinitions​(@NotNull
                                                      Class<T> type)
        Returns set of definitions of a given type. The set contains all definitions of the given type that were parsed. Order of definitions is insignificant.
        Returns:
        set of definitions
      • isEmpty

        boolean isEmpty()