Class ApparentlyLocalOrFirstComponentIsJavaIdentifierNameGuard

  • All Implemented Interfaces:
    NameGuard

    public class ApparentlyLocalOrFirstComponentIsJavaIdentifierNameGuard
    extends java.lang.Object
    implements NameGuard
    • Constructor Detail

      • ApparentlyLocalOrFirstComponentIsJavaIdentifierNameGuard

        public ApparentlyLocalOrFirstComponentIsJavaIdentifierNameGuard()
    • Method Detail

      • nameIsAcceptable

        public boolean nameIsAcceptable​(javax.naming.Name name)
        Specified by:
        nameIsAcceptable in interface NameGuard
      • nameIsAcceptable

        public boolean nameIsAcceptable​(java.lang.String name)
        Specified by:
        nameIsAcceptable in interface NameGuard
      • onlyAcceptableWhen

        public java.lang.String onlyAcceptableWhen()
        Description copied from interface: NameGuard
        This should be a descriptive message that might follow "names are only acceptable when " A period will be appended to the message. (No terminal period should be included in the String.)
        Specified by:
        onlyAcceptableWhen in interface NameGuard