Class Namespace


  • public final class Namespace
    extends Object
    • Field Detail

      • EMPTY_NAMESPACE

        public static final Namespace EMPTY_NAMESPACE
      • DEFAULT_NAMESPACE

        public static final Namespace DEFAULT_NAMESPACE
      • UNCHECKED_NAME

        public static final Pattern UNCHECKED_NAME
        Unchecked name pattern (no dots).

        This will not protect you from creating namespace that are incompatible with your underlying datastore.

        Use LOOSELY_CHECKED_NAME or STRICTLY_CHECKED_NAME if possible.

      • LOOSELY_CHECKED_NAME

        public static final Pattern LOOSELY_CHECKED_NAME
        Less restrictive name pattern (letters, numbers, underscores, and hyphens).

        Use STRICTLY_CHECKED_NAME if possible.

      • STRICTLY_CHECKED_NAME

        public static final Pattern STRICTLY_CHECKED_NAME
        Restrictive name pattern (letters, numbers, and non-initial single underscores).