Class FirstComponentIsJavaIdentifierNameGuard

java.lang.Object
com.mchange.v2.naming.FirstComponentIsJavaIdentifierNameGuard
All Implemented Interfaces:
NameGuard

public class FirstComponentIsJavaIdentifierNameGuard extends Object implements NameGuard
  • Constructor Details

    • FirstComponentIsJavaIdentifierNameGuard

      public FirstComponentIsJavaIdentifierNameGuard()
  • Method Details

    • nameIsAcceptable

      public boolean nameIsAcceptable(Name name)
      Specified by:
      nameIsAcceptable in interface NameGuard
    • nameIsAcceptable

      public boolean nameIsAcceptable(String name)
      Specified by:
      nameIsAcceptable in interface NameGuard
    • onlyAcceptableWhen

      public 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