Interface NamespaceAware

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean contributesTo​(java.lang.String namespace)
      Defines if the current implementation contributes to the given namespace.
      java.lang.String getNamespace()
      A string used to identify references belonging to this provider May only contain characters that make for a reasonable Java identifier such as letters digits and underscore (no colons, periods, commas etc.)
    • Method Detail

      • getNamespace

        java.lang.String getNamespace()
        A string used to identify references belonging to this provider May only contain characters that make for a reasonable Java identifier such as letters digits and underscore (no colons, periods, commas etc.)
        Returns:
        the namespace, e.g. "nodes".
      • contributesTo

        boolean contributesTo​(java.lang.String namespace)
        Defines if the current implementation contributes to the given namespace. This is usually the case, when the given namespaces equals getNamespace(), but is not a requirement.
        Parameters:
        namespace - the namespace to contribute to
        Returns:
        true, if the current implementation contributes to the given namespace, otherwise false.