public static EjbJarXmlVersion valueOf(DocumentType docType) throws NullPointerException {
  return valueOf(docType.getPublicId());
}

public static EjbJarXmlVersion valueOf ( DocumentType docType ) throws NullPointerException { return valueOf ( docType . getPublicId ( ) ) ; }
returns the version corresponding to the given document type .
